| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class TestContainerFactory |
||
| 12 | { |
||
| 13 | private static $container; |
||
| 14 | |||
| 15 | public static function getContainerSingleton(array $config): ContainerInterface |
||
| 16 | { |
||
| 17 | if (null === self::$container) { |
||
| 18 | self::$container = self::getContainer($config); |
||
| 19 | } |
||
| 20 | |||
| 21 | return self::$container; |
||
| 22 | } |
||
| 23 | |||
| 24 | public static function getContainer(array $config): ContainerInterface |
||
| 31 | } |
||
| 32 | } |
||
| 33 |