File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/Symfony/Bundle/FrameworkBundle/Command Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2020use Symfony \Component \Console \Input \InputOption ;
2121use Symfony \Component \Console \Output \OutputInterface ;
2222use Symfony \Component \Console \Style \SymfonyStyle ;
23+ use Symfony \Component \DependencyInjection \Compiler \ServiceLocatorTagPass ;
2324use Symfony \Component \DependencyInjection \ContainerBuilder ;
2425use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
2526use Symfony \Component \DependencyInjection \ParameterBag \ParameterBag ;
@@ -198,6 +199,8 @@ protected function getContainerBuilder()
198199 $ container ->compile ();
199200 } else {
200201 (new XmlFileLoader ($ container = new ContainerBuilder (), new FileLocator ()))->load ($ kernel ->getContainer ()->getParameter ('debug.container.dump ' ));
202+ $ locatorPass = new ServiceLocatorTagPass ();
203+ $ locatorPass ->process ($ container );
201204 }
202205
203206 return $ this ->containerBuilder = $ container ;
You can’t perform that action at this time.
0 commit comments