Méthode |
Description |
|
__construct ( $isArray = false ) |
constructor |
|
getArray ( string $path ) : array |
retrieve data from a dot.notation.path |
|
getConfig ( ) : array | object |
get the config that we wrap |
|
getData ( string $path ) : mixed |
retrieve data using a dot.notation.path |
|
getExpandedConfig ( array | object | null $baseConfig = null ) : array | object |
expand any variables in $this |
|
getFilename ( ) : string | null |
returns the filename we loaded this config from |
|
getName ( ) : string | null |
returns the name assigned to this config |
|
getObject ( string $path ) : object |
retrieve data from a dot.notation.path |
|
hasData ( string $path ) : boolean |
check for existence of data using a dot.notation.path |
|
loadConfigFromFile ( string $pathToFile ) : void |
load a config file from disk, and store the config in $this |
|
mergeData ( string $path, mixed $dataToMerge ) : void |
merge data into this config |
|
setConfig ( array | object $config ) |
store the config that we wrap |
|
setData ( string $path, mixed $data ) : void |
assigns data to a specific path |
|
setFilename ( string $filename ) |
sets the filename that we loaded this config from |
|
setName ( string $name ) |
assigns a name to this config |
|
unsetData ( string $path ) : void |
remove data using a dot.notation.path |
|