From d0de9ef7a6be7300bed335d99c81c68229f5b50d Mon Sep 17 00:00:00 2001 From: Jakub Janata Date: Fri, 1 Sep 2017 11:43:07 +0200 Subject: [PATCH] fix processConfiguration - symfony 3.3.8 --- DependencyInjection/JMSI18nRoutingExtension.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/DependencyInjection/JMSI18nRoutingExtension.php b/DependencyInjection/JMSI18nRoutingExtension.php index f851742..0ed8cd5 100644 --- a/DependencyInjection/JMSI18nRoutingExtension.php +++ b/DependencyInjection/JMSI18nRoutingExtension.php @@ -18,7 +18,6 @@ namespace JMS\I18nRoutingBundle\DependencyInjection; -use Symfony\Component\Config\Definition\Processor; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; use Symfony\Component\DependencyInjection\ContainerBuilder; @@ -33,8 +32,7 @@ class JMSI18nRoutingExtension extends Extension { public function load(array $configs, ContainerBuilder $container) { - $processor = new Processor(); - $config = $processor->processConfiguration(new Configuration, $configs); + $config = $this->processConfiguration(new Configuration, $configs); $loader = new XmlFileLoader($container, new FileLocator(array(__DIR__.'/../Resources/config'))); $loader->load('services.xml');