Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
22 | public function load(array $configs, ContainerBuilder $container) |
||
23 | { |
||
24 | 1 | $configuration = new Configuration(); |
|
25 | 1 | $config = $this->processConfiguration($configuration, $configs); |
|
26 | |||
27 | 1 | $this->createIndexConfigurationRepository($config, $container); |
|
28 | |||
29 | 1 | $loader = new Loader\YamlFileLoader( |
|
30 | 1 | $container, |
|
31 | 1 | new FileLocator(__DIR__ . '/../Resources/config') |
|
32 | 1 | ); |
|
33 | |||
34 | 1 | $loader->load('services.yml'); |
|
35 | 1 | } |
|
36 | |||
48 |