class Config_ForClass (View source)

Methods

__construct(string|object $class)

No description

mixed
__get(string $name)

No description

__set(string $name, mixed $val)

No description

$this
update(string $name, mixed $value)

Explicit pass-through to Config::update()

$this
merge(string $name, mixed $value)

Merge a given config

$this
set(string $name, mixed $value)

Replace config value

bool
__isset(string $name)

No description

mixed
get(string $name, mixed $options = 0)

No description

$this
remove(string $name)

Remove the given config key

forClass($class)

No description

mixed
uninherited(string $name)

Get uninherited config

Details

__construct(string|object $class)

Parameters

string|object $class

mixed __get(string $name)

Parameters

string $name

Return Value

mixed

__set(string $name, mixed $val)

Parameters

string $name
mixed $val

$this update(string $name, mixed $value)

Explicit pass-through to Config::update()

Parameters

string $name
mixed $value

Return Value

$this

$this merge(string $name, mixed $value)

Merge a given config

Parameters

string $name
mixed $value

Return Value

$this

$this set(string $name, mixed $value)

Replace config value

Parameters

string $name
mixed $value

Return Value

$this

bool __isset(string $name)

Parameters

string $name

Return Value

bool

mixed get(string $name, mixed $options = 0)

Parameters

string $name
mixed $options

Return Value

mixed

$this remove(string $name)

Remove the given config key

Parameters

string $name

Return Value

$this

Config_ForClass forClass($class)

Parameters

$class

Return Value

Config_ForClass

mixed uninherited(string $name)

Get uninherited config

Parameters

string $name

Name of config

Return Value

mixed