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 ?
How about possibilities to autoload all config file, something like :
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 ?