-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
Feature Request
| Q | A |
|---|---|
| New Feature | yes |
| RFC | no |
| BC Break | no |
Summary
It would be great if the ContainerResolver could accept an array as its configuration instead of a path. This would make it function similarly to the mvc skeleton's index.php:
$appConfig = require __DIR__ . '/../config/application.config.php';
if (file_exists(__DIR__ . '/../config/development.config.php')) {
$appConfig = ArrayUtils::merge($appConfig, require __DIR__ . '/../config/development.config.php');
}
// Run the application!
Application::init($appConfig)->run();This is great because it allows you to merge another configuration file into the config.
With laminas-cli this is currently not possible, it seems. Or maybe I just don't know how?
Reactions are currently unavailable