Bånder

Result
in package
implements JsonSerializable uses ConfigAliases

AbstractYes

Table of Contents

Interfaces

JsonSerializable

Properties

$aliases  : array<string|int, mixed>
$configs  : Collection
$contents  : string
$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

Properties

$aliases

protected array<string|int, mixed> $aliases = ['os', 'hostname']

$configs

protected Collection $configs

$contents

protected string $contents

$modules

protected Collection $modules

$version

protected string $version

Methods

__construct()

public __construct(string $contents) : mixed
Parameters
$contents : string

canParse()

public abstract static canParse(string $contents) : bool
Parameters
$contents : string
Return values
bool

config()

public config(mixed $key[, mixed $which = 'local' ]) : string|null
Parameters
$key : mixed
$which : mixed = 'local'
Return values
string|null

configs()

public configs() : Collection
Return values
Collection

hasConfig()

public hasConfig(mixed $key) : bool
Parameters
$key : mixed
Return values
bool

hasModule()

public hasModule(mixed $key) : bool
Parameters
$key : mixed
Return values
bool

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

module()

public module(mixed $key) : Module|null
Parameters
$key : mixed
Return values
Module|null

modules()

public modules() : Collection
Return values
Collection

version()

public version() : string
Return values
string

getHostname()

protected getHostname() : string
Return values
string

parse()

protected abstract parse() : void

        
On this page

Search results