Total Complexity | 7 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
11 | class TestKernel extends Kernel |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $projectDir; |
||
17 | |||
18 | public function getProjectDir(): string |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * This results in the test container, with all private services public |
||
37 | */ |
||
38 | public function getContainer(): ContainerInterface |
||
39 | { |
||
40 | return parent::getContainer(); |
||
|
|||
41 | } |
||
42 | |||
43 | protected function initializePlugins(): void |
||
44 | { |
||
45 | self::$plugins->add(new \SwagExampleTest\SwagExampleTest()); |
||
46 | self::$plugins->add(new \SwagInvalidTest\SwagInvalidTest()); |
||
47 | } |
||
48 | |||
49 | protected function initializeFeatureFlags(): void |
||
51 | //empty body intended, to prevent duplicate registration of feature flags |
||
52 | } |
||
53 | } |
||
54 |