\Fuman_Config_Default

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
hasValue()
setValue()
getValueOrDefault()
getValue()
No public properties found
No constants found
No protected methods found
$_data
N/A
No private methods found
No private properties found
N/A

Properties

$_data

$_data : \stdClass

Type

\stdClass

Methods

__construct()

__construct(\stdClass  $data = null) 

Parameters

\stdClass $data

__get()

__get(  $key) : mixed

Parameters

$key

Returns

mixed

__set()

__set(  $key,   $value) 

Parameters

$key
$value

hasValue()

hasValue(string  $key, boolean  $ignoreNull = true) : boolean

Returns true if $key exists

Parameters

string $key
boolean $ignoreNull

Returns

boolean

setValue()

setValue(  $key,   $value) : mixed

Sets the $value at $key

Parameters

$key
$value

Returns

mixed

getValueOrDefault()

getValueOrDefault(string  $key, mixed|null  $defaultValue = null) : mixed

Returns the value of $key otherwise $defaultValue

Parameters

string $key
mixed|null $defaultValue

Returns

mixed

getValue()

getValue(string  $key) : mixed

Returns value if $key

Parameters

string $key

Returns

mixed