- Class name: Config
- Namespace: JSMF
Void JSMF\Config::load(String $configFile)
load config file. Multiple config files were merged to one config registry
- Visibility: public
- This method is static.
- $configFile String - <p>(absolute path)</p>
Mixed JSMF\Config::get(String $configKey, $default)
get config value, returns null if not exists
- Visibility: public
- This method is static.
- $configKey String
- $default mixed
Boolean JSMF\Config::has(String $configKey)
returns if configkey is present
- Visibility: public
- This method is static.
- $configKey String
Void JSMF\Config::set(String $configKey, Mixed $value, Boolean|true $overwrite)
set a config key
- Visibility: public
- This method is static.
- $configKey String
- $value Mixed
- $overwrite Boolean|true