Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
44 | 1 | private static function initialiseContainer(): void |
|
45 | { |
||
46 | 1 | self::$container = new ContainerBuilder(); |
|
47 | |||
48 | 1 | $loader = new YamlFileLoader(self::$container, new FileLocator([__DIR__ . '/../../Resources/config'])); |
|
49 | 1 | $loader->load('operations.yml'); |
|
50 | |||
51 | 1 | self::$container->compile(); |
|
52 | |||
53 | 1 | self::$isContainerInitialised = true; |
|
54 | 1 | } |
|
56 |