\Fuman_Config_Interface

Summary

Methods
Constants
hasValue()
setValue()
getValueOrDefault()
getValue()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

hasValue()

hasValue(string  $key) : boolean

Returns true if $key exists

Parameters

string $key

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