HumHub Documentation (unofficial)

Profile
in package
implements ProfileInterface

The default implementation of ProfileInterface.

Table of Contents

Interfaces

ProfileInterface

Properties

$data  : string
$name  : string

Methods

__construct()  : mixed
data()  : string
Returns the profile data.
fromPath()  : static
Creates a profile from a path to a file.
name()  : string
Returns the name of the profile.

Properties

Methods

__construct()

public __construct(string $name, string $data) : mixed
Parameters
$name : string
$data : string

fromPath()

Creates a profile from a path to a file.

public static fromPath(string $path) : static
Parameters
$path : string
Tags
throws
InvalidArgumentException

In case the provided path is not valid

Return values
static

        
On this page

Search results