class Config_ForClass (View source)

Properties

protected string $class

Methods

public
__construct(string|object $class)

No description

public
mixed
__get(string $name)

No description

public
__set(string $name, mixed $val)

No description

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

Explicit pass-through to Config::update()

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

Merge a given config

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

Replace config value

public
bool
__isset(string $name)

No description

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

No description

public
$this
remove(string $name)

Remove the given config key

public
forClass(string $class)

No description

public
mixed
uninherited(string $name)

Get uninherited config

Details

__construct(string|object $class)

No description

Parameters

string|object $class

mixed __get(string $name)

No description

Parameters

string $name

Return Value

mixed

__set(string $name, mixed $val)

No description

Parameters

string $name
mixed $val

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

deprecated 4.12.0 Use merge() instead

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)

No description

Parameters

string $name

Return Value

bool

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

No description

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(string $class)

No description

Parameters

string $class

Return Value

Config_ForClass

mixed uninherited(string $name)

Get uninherited config

Parameters

string $name

Name of config

Return Value

mixed