Skip to content

4.0.0

Compare
Choose a tag to compare
@PHLAK PHLAK released this 31 Mar 04:59
· 98 commits to master since this release
f577f0a

Added

  • Confg::__construct() and Config::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