File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 4343use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
4444use Symfony \Component \DependencyInjection \ContainerBuilder ;
4545use Symfony \Component \Filesystem \Filesystem ;
46- use Symfony \Component \HttpKernel \EventListener \ErrorListener ;
4746use Symfony \Component \HttpKernel \Kernel ;
4847
4948/**
@@ -102,12 +101,6 @@ public function registerContainerConfiguration(LoaderInterface $loader)
102101 $ loader ->load (function (ContainerBuilder $ container ) {
103102 $ container ->setParameter ('container.autowiring.strict_mode ' , true );
104103 $ container ->register ('logger ' , NullLogger::class);
105-
106- if (isset ($ this ->bundles ['TwigBundle ' ]) && class_exists (ErrorListener::class)) {
107- $ container ->loadFromExtension ('twig ' , [
108- 'exception_controller ' => null ,
109- ]);
110- }
111104 });
112105 }
113106
You can’t perform that action at this time.
0 commit comments