DEFAULT_EXTENSION
DEFAULT_EXTENSION
File extension to append to the filename in loadFile
Php Array implmentation of the config module
set(string $id, \FW\Config\value $value, boolean $merge = true, boolean $assoc = false) : \FW\Config\PhpConfig
{@inheritdoc}
string | $id | key to set |
\FW\Config\value | $value | mixed value to set |
boolean | $merge | Whether or not to merge (if value is an array) |
boolean | $assoc | Whether or not the merged array is associative |
replace(array $arr, boolean $merge = true) : \FW\Config\PhpConfig
{@inheritdoc}
array | $arr | array to merge or replace |
boolean | $merge | whether or not to merge |
loadFile(string $fileName, boolean $merge = true) : \FW\Config\PhpConfig
{@inheritdoc}
string | $fileName | The name of the file |
boolean | $merge | Whether or not to merge the data |
The config instance