Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 2 | public function load(array $configs, ContainerBuilder $container): void |
|
19 | { |
||
20 | 2 | $loader = new YamlFileLoader( |
|
21 | 2 | $container, |
|
22 | 2 | new FileLocator(__DIR__ . '/../Resources/config') |
|
23 | 2 | ); |
|
24 | |||
25 | 2 | $loader->load('services.yaml'); |
|
26 | 2 | $configResolverDef = $container->getDefinition('.povs_lister.configuration_resolver'); |
|
27 | 2 | $configResolverDef->setArgument(0, $configs); |
|
28 | } |
||
30 |