Profile
in package
implements
ProfileInterface
The default implementation of ProfileInterface.
Table of Contents
Interfaces
Properties
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
$data
private
string
$data
$name
private
string
$name
Methods
__construct()
public
__construct(string $name, string $data) : mixed
Parameters
- $name : string
- $data : string
data()
Returns the profile data.
public
data() : string
Tags
Return values
stringfromPath()
Creates a profile from a path to a file.
public
static fromPath(string $path) : static
Parameters
- $path : string
Tags
Return values
staticname()
Returns the name of the profile.
public
name() : string