Méthode |
Description |
|
__construct ( array $config = [], boolean $changes = false ) : Config |
Constructor |
|
__get ( string $name ) : mixed |
Magic get method to return the value of config[$name]. |
|
__isset ( string $name ) : boolean |
Return the isset value of config[$name]. |
|
__set ( string $name, mixed $value ) : void |
Set method to set the property to the value of config[$name]. |
|
__unset ( string $name ) : void |
Unset config[$name]. |
|
asArray ( ) : array |
Method to get the config values as an array |
|
asArrayObject ( ) : array |
Method to get the config values as an ArrayObject |
|
changesAllowed ( ) : boolean |
Method to return if changes to the config are allowed. |
|
factory ( array $config = [], boolean $changes = false ) : Config |
Static method to instantiate the config object and return itself
to facilitate chaining methods together. |
|
get ( string $name ) : mixed |
Get method to return the value of config[$name]. |
|
merge ( mixed $config ) : Config |
Method to merge the values of another config object into this one |
|