Closed augustohp closed 12 years ago
It is already possible to do this:
$container = new Respect\Config\Container;
$container->loadFile('staging.ini');
$container->loadFile('testing.ini');
One spec is merged onto the first one. You can load as many file as you want. Do we need more?
Actually this works fine, just need to check if it suffers from I described in issue #14.
That suffers from the issue #14, but this feature works like it should so I'm closing the issue.
It should be very useful, mainly for testing purposes, that we could inherit another configuration file, like:
database.staging.ini
database.testing.ini
ZendFramework does this in the same configuration file by using : in the section, this could be also be a way.