Config

Adopted PHPixie\Config 2.x.
Methods Summary
public
# __construct( Psr\Container\ContainerInterface $container )
public
# __invoke( string $string , string $default = NULL )
Retrieves a configuration value. You can use a dot notation to access properties in group arrays. The first part of the key specifies the configuration file from which options should be loaded from <code> //Loads ['default']['user'] option //from database.php configuration file $config('database.default.user'); </code>.
protected
# getGroup( string $name )
Loads a group configuration file it has not been loaded before and returns its options. If the group doesn't exist creates an empty one.
protected
# loadGroup( string $name )
Load group from file by group name.
Properties Summary
protected Psr\Container\ContainerInterface $container
# NULL