config()
config() : \Pop\ApplicationInterface
Access application config
Application interface
config() : \Pop\ApplicationInterface
Access application config
registerConfig(mixed $config) : \Pop\ApplicationInterface
Register a new configuration with the application
mixed | $config |
addConfigValue(string $name, string $value) : \Pop\ApplicationInterface
Add new value to config
string | $name | |
string | $value |
updateConfigValue(string $name, string $value) : \Pop\ApplicationInterface
Update existing value in config
string | $name | |
string | $value |
deleteConfigValue(string $name) : \Pop\ApplicationInterface
Replace existing value in config
string | $name |
mergeConfig(mixed $config, boolean $preserve = false) : \Pop\ApplicationInterface
Merge new or altered config values with the existing config values
mixed | $config | |
boolean | $preserve |