We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1b95d commit b86ae28Copy full SHA for b86ae28
DependencyInjection/CmfRoutingExtension.php
@@ -22,12 +22,9 @@ class CmfRoutingExtension extends Extension
22
*/
23
public function load(array $configs, ContainerBuilder $container)
24
{
25
- $processor = new Processor();
26
- $configuration = new Configuration();
+ $config = $this->processConfiguration(new Configuration(), $configs);
27
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
28
29
- $config = $processor->processConfiguration($configuration, $configs);
30
-
31
if (!empty($config['dynamic']['enabled'])) {
32
// load this even if no explicit enabled value but some configuration
33
$this->setupDynamicRouter($config['dynamic'], $container, $loader);
0 commit comments