| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | private function getContainer() : Container |
||
| 32 | { |
||
| 33 | if (isset(self::$containers[$this->getTestDirectory()])) { |
||
| 34 | return self::$containers[$this->getTestDirectory()]; |
||
| 35 | } |
||
| 36 | |||
| 37 | $container = (new ContainerFactory)->createWithConfig($this->getTestDirectory() . '/config/config.neon'); |
||
| 38 | |||
| 39 | self::$containers[$this->getTestDirectory()] = $container; |
||
| 40 | |||
| 41 | return $container; |
||
| 42 | } |
||
| 43 | |||
| 52 |