File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 18
18
19
19
namespace JMS \I18nRoutingBundle \DependencyInjection ;
20
20
21
- use Symfony \Component \Config \Definition \Processor ;
22
21
use Symfony \Component \Config \FileLocator ;
23
22
use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
24
23
use Symfony \Component \DependencyInjection \ContainerBuilder ;
@@ -33,8 +32,7 @@ class JMSI18nRoutingExtension extends Extension
33
32
{
34
33
public function load (array $ configs , ContainerBuilder $ container )
35
34
{
36
- $ processor = new Processor ();
37
- $ config = $ processor ->processConfiguration (new Configuration , $ configs );
35
+ $ config = $ this ->processConfiguration (new Configuration , $ configs );
38
36
39
37
$ loader = new XmlFileLoader ($ container , new FileLocator (array (__DIR__ .'/../Resources/config ' )));
40
38
$ loader ->load ('services.xml ' );
You can’t perform that action at this time.
0 commit comments