class Config (View source)

Methods

__construct(string $path)

Load items from a config file in a object

reload()

Reload configuration from file

mixed
__get(string $name)

Magic method for get specific item

bool
__isset(string $name)

Magic method for check if value exists in top-level

__set($name, $value)

No description

Details

__construct(string $path)

Load items from a config file in a object

Parameters

string $path

Exceptions

Exception

reload()

Reload configuration from file

Exceptions

Exception

mixed __get(string $name)

Magic method for get specific item

Parameters

string $name

Return Value

mixed

bool __isset(string $name)

Magic method for check if value exists in top-level

Parameters

string $name

Return Value

bool

__set($name, $value)

No description

Parameters

$name
$value