File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1616use Symfony \Component \DependencyInjection \ContainerInterface ;
1717use Symfony \Component \DependencyInjection \ContainerBuilder ;
1818use Symfony \Component \DependencyInjection \Dumper \PhpDumper ;
19- use Symfony \Component \DependencyInjection \ParameterBag \ParameterBag ;
2019use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
2120use Symfony \Component \DependencyInjection \Loader \YamlFileLoader ;
2221use Symfony \Component \DependencyInjection \Loader \IniFileLoader ;
@@ -611,7 +610,8 @@ protected function prepareContainer(ContainerBuilder $container)
611610 */
612611 protected function getContainerBuilder ()
613612 {
614- $ container = new ContainerBuilder (new ParameterBag ($ this ->getKernelParameters ()));
613+ $ container = new ContainerBuilder ();
614+ $ container ->getParameterBag ()->add ($ this ->getKernelParameters ());
615615
616616 if (class_exists ('ProxyManager\Configuration ' ) && class_exists ('Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator ' )) {
617617 $ container ->setProxyInstantiator (new RuntimeInstantiator ());
You can’t perform that action at this time.
0 commit comments