Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
20 | 1 | public function load(array $configs, ContainerBuilder $container): void |
|
21 | { |
||
22 | 1 | $configuration = new Configuration(); |
|
23 | 1 | $this->processConfiguration($configuration, $configs); |
|
24 | |||
25 | 1 | $loader = new YamlFileLoader( |
|
26 | 1 | $container, |
|
27 | 1 | new FileLocator(__DIR__ . '/../Resources/config') |
|
28 | ); |
||
29 | 1 | $loader->load('services.yaml'); |
|
30 | 1 | } |
|
32 |