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 16
16
use Symfony \Component \DependencyInjection \ContainerInterface ;
17
17
use Symfony \Component \DependencyInjection \ContainerBuilder ;
18
18
use Symfony \Component \DependencyInjection \Dumper \PhpDumper ;
19
- use Symfony \Component \DependencyInjection \ParameterBag \ParameterBag ;
20
19
use Symfony \Component \DependencyInjection \Loader \XmlFileLoader ;
21
20
use Symfony \Component \DependencyInjection \Loader \YamlFileLoader ;
22
21
use Symfony \Component \DependencyInjection \Loader \IniFileLoader ;
@@ -611,7 +610,8 @@ protected function prepareContainer(ContainerBuilder $container)
611
610
*/
612
611
protected function getContainerBuilder ()
613
612
{
614
- $ container = new ContainerBuilder (new ParameterBag ($ this ->getKernelParameters ()));
613
+ $ container = new ContainerBuilder ();
614
+ $ container ->getParameterBag ()->add ($ this ->getKernelParameters ());
615
615
616
616
if (class_exists ('ProxyManager\Configuration ' ) && class_exists ('Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator ' )) {
617
617
$ container ->setProxyInstantiator (new RuntimeInstantiator ());
You can’t perform that action at this time.
0 commit comments