File tree 1 file changed +3
-0
lines changed
src/Symfony/Bundle/FrameworkBundle/Command
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 20
20
use Symfony \Component \Console \Input \InputOption ;
21
21
use Symfony \Component \Console \Output \OutputInterface ;
22
22
use Symfony \Component \Console \Style \SymfonyStyle ;
23
+ use Symfony \Component \DependencyInjection \Compiler \ServiceLocatorTagPass ;
23
24
use Symfony \Component \DependencyInjection \ContainerBuilder ;
24
25
use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
25
26
use Symfony \Component \DependencyInjection \ParameterBag \ParameterBag ;
@@ -198,6 +199,8 @@ protected function getContainerBuilder()
198
199
$ container ->compile ();
199
200
} else {
200
201
(new XmlFileLoader ($ container = new ContainerBuilder (), new FileLocator ()))->load ($ kernel ->getContainer ()->getParameter ('debug.container.dump ' ));
202
+ $ locatorPass = new ServiceLocatorTagPass ();
203
+ $ locatorPass ->process ($ container );
201
204
}
202
205
203
206
return $ this ->containerBuilder = $ container ;
You can’t perform that action at this time.
0 commit comments