Table of Contents
Properties
-
$aliases
: array<string|int, mixed>
-
$configs
: Collection
-
$contents
: string
-
$lines
: Lines
-
$modules
: Collection
-
$version
: string
Methods
-
__construct()
: mixed
-
canParse()
: bool
-
config()
: string|null
-
configs()
: Collection
-
hasConfig()
: bool
-
hasModule()
: bool
-
jsonSerialize()
: array<string|int, mixed>
-
module()
: Module|null
-
modules()
: Collection
-
version()
: string
-
getHostname()
: string
-
getOs()
: string
-
parse()
: void
-
processConfig()
: Config|false
-
processCredits()
: void
-
processGroup()
: Group|false
-
processGroups()
: mixed
-
processLicense()
: void
-
processModule()
: mixed
-
processModules()
: mixed
$aliases
protected
array<string|int, mixed>
$aliases
= ['os', 'hostname']
$configs
protected
Collection
$configs
$contents
protected
string
$contents
$lines
protected
Lines
$lines
$modules
protected
Collection
$modules
$version
protected
string
$version
__construct()
public
__construct(string $contents) : mixed
Parameters
-
$contents
: string
-
canParse()
public
static canParse(string $contents) : bool
Parameters
-
$contents
: string
-
config()
public
config(mixed $key[, mixed $which = 'local' ]) : string|null
Parameters
-
$key
: mixed
-
-
$which
: mixed
= 'local'
-
Return values
string|null
configs()
public
configs() : Collection
hasConfig()
public
hasConfig(mixed $key) : bool
Parameters
-
$key
: mixed
-
hasModule()
public
hasModule(mixed $key) : bool
Parameters
-
$key
: mixed
-
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
module()
public
module(mixed $key) : Module|null
Parameters
-
$key
: mixed
-
modules()
public
modules() : Collection
version()
public
version() : string
getHostname()
protected
getHostname() : string
getOs()
protected
getOs() : string
parse()
protected
parse() : void
processConfig()
protected
processConfig() : Config|false
processCredits()
protected
processCredits() : void
processGroup()
protected
processGroup() : Group|false
Return values
Group|false
processGroups()
protected
processGroups() : mixed
processLicense()
protected
processLicense() : void
processModule()
protected
processModule(mixed $name) : mixed
Parameters
-
$name
: mixed
-
processModules()
protected
processModules() : mixed