Interface ConfigInterface
Interface for configuration stores.
Methods summary
public
boolean
|
#
has( string $key )
Determine if a key exists in the store.
Determine if a key exists in the store.
Should return true even if the value is null.
Parameters
Returns
boolean
|
public
mixed
|
#
get( string $key, mixed $default = null )
Get an item from the store.
Get an item from the store.
Parameters
- $key
- $default
- If the value is not found, return this instead.
Returns
mixed
|
public
|
#
set( string $key, mixed $value )
Set an item in the store temporarily - more specifically, the lifetime of
the store object.
Set an item in the store temporarily - more specifically, the lifetime of
the store object.
Parameters
|
public
|
#
mount( string $location, string $path )
Mount a path to a specific location in the config tree.
Mount a path to a specific location in the config tree.
Parameters
|
public
|
|