4.0.0
Added
Confg::__construct()andConfig::load()now accept an optional$prefixparameter. When set the new or loaded config will be nested in a config item with the value of$prefixas the key.- Added
Config::toArray()for returning the entire configuration object as an array
Changed
Config::get()no longer allows the$keyparameter to be null
Removed
- Removed the ability to access config variables via PHP object notation (e.g.
$config->database->driver) since it required configuration items be re-cast to Config objects
Fixed
- Fixed possible issue when loading multi-dimensial config files
Detailed changelog: 3.0.1...4.0.0