We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d7a3f commit be7811aCopy full SHA for be7811a
Tests/Functional/app/AppKernel.php
@@ -14,7 +14,6 @@
14
use Psr\Log\NullLogger;
15
use Symfony\Component\Config\Loader\LoaderInterface;
16
use Symfony\Component\DependencyInjection\ContainerBuilder;
17
-use Symfony\Component\DependencyInjection\ContainerInterface;
18
use Symfony\Component\Filesystem\Filesystem;
19
use Symfony\Component\HttpKernel\Kernel;
20
@@ -97,13 +96,4 @@ protected function getKernelParameters(): array
97
96
98
return $parameters;
99
}
100
-
101
- public function getContainer(): ContainerInterface
102
- {
103
- if (!$this->container) {
104
- throw new \LogicException('Cannot access the container on a non-booted kernel. Did you forget to boot it?');
105
- }
106
107
- return parent::getContainer();
108
109
0 commit comments