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