File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed
FrameworkBundle/Tests/Functional/app
SecurityBundle/Tests/Functional/app Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change 14
14
use Psr \Log \NullLogger ;
15
15
use Symfony \Component \Config \Loader \LoaderInterface ;
16
16
use Symfony \Component \DependencyInjection \ContainerBuilder ;
17
- use Symfony \Component \DependencyInjection \ContainerInterface ;
18
17
use Symfony \Component \Filesystem \Filesystem ;
19
18
use Symfony \Component \HttpKernel \Kernel ;
20
19
@@ -97,13 +96,4 @@ protected function getKernelParameters(): array
97
96
98
97
return $ parameters ;
99
98
}
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
99
}
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Bundle \SecurityBundle \Tests \Functional \app ;
13
13
14
14
use Symfony \Component \Config \Loader \LoaderInterface ;
15
- use Symfony \Component \DependencyInjection \ContainerInterface ;
16
15
use Symfony \Component \Filesystem \Filesystem ;
17
16
use Symfony \Component \HttpKernel \Kernel ;
18
17
@@ -99,13 +98,4 @@ protected function getKernelParameters(): array
99
98
100
99
return $ parameters ;
101
100
}
102
-
103
- public function getContainer (): ContainerInterface
104
- {
105
- if (!$ this ->container ) {
106
- throw new \LogicException ('Cannot access the container on a non-booted kernel. Did you forget to boot it? ' );
107
- }
108
-
109
- return parent ::getContainer ();
110
- }
111
101
}
You can’t perform that action at this time.
0 commit comments