Closed srosato closed 11 years ago
Of course this is a really simple approach, as the more advanced Symfony\Component\Config\Definition\Processor
and Symfony\Component\Config\Definition\ConfigurationInterface
could be used as seen there http://symfony.com/doc/current/cookbook/bundles/extension.html#validation-and-merging-with-a-configuration-class
Fix by PR #20
Hi there, I am currently using Behat under test environment to run behaviour driven features and the WebProfilerExtraBundle conflicted when the switching from multiple requests. Since I didn't need the extra tools under the dev environment, I went away and added in config_test.yml:
from config_dev.yml I have:
The thing is, it does not override, each config is parsed as a whole here:
Is this intentional? I am able to disable the profiler simply by using one overridable configuration like this:
I didn't think of other ways to disable it under the test env while still keeping it enabled for dev without doing the configuration overriding. What are your thoughts on that?
Best regards, Steven Rosato