Interface ConfigurableInterface
Methods summary
public
Charcoal\Config\ConfigurableInterface
|
#
setConfig( mixed $config )
Sets the object's configuration container.
Sets the object's configuration container.
Parameters
- $config
- The Config object or dataset.
Returns
|
public
mixed
|
#
config( string|null $key = null )
Gets the object's configuration container or a specific key from the container.
Gets the object's configuration container or a specific key from the container.
Parameters
- $key
- If provided, the data key to retrieve.
Returns
mixed If $key is NULL, the Config object is returned.
If $key is given, its value on the Config object is returned.
|