4.0.0
Added
Confg::__construct()
andConfig::load()
now accept an optional$prefix
parameter. When set the new or loaded config will be nested in a config item with the value of$prefix
as the key.- Added
Config::toArray()
for returning the entire configuration object as an array
Changed
Config::get()
no longer allows the$key
parameter 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