Skip to content

request enhancement #6

@adrianug

Description

@adrianug

How about possibilities to autoload all config file, something like :

$provider = new \werx\Config\Providers\ArrayProvider('/path/to/config/directory');
$config = new \werx\Config\Container($provider);
$config->load(); // should autoload all config file

It will be difficult if you have a lot of config files, such us app.php, db.php, email.php, language.php, many more and must present every config file in$config->load(['app', 'db', 'email', 'language'], true);

Or whether it should indeed like it ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions