Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
16 | 1 | public function load(array $configs, ContainerBuilder $container) |
|
17 | { |
||
18 | |||
19 | 1 | $locator = new FileLocator(__DIR__.'/../Resources/config'); |
|
20 | 1 | $loader = new XmlFileLoader($container, $locator); |
|
21 | |||
22 | 1 | $configuration = $this->processConfiguration(new Configuration(), $configs); |
|
23 | |||
24 | 1 | $container->setParameter('reports', $configuration['reports']); |
|
25 | 1 | $container->setParameter('config.filter', $configuration['filter']); |
|
26 | |||
27 | 1 | $loader->load('code_coverage.xml'); |
|
28 | 1 | $loader->load('reports.xml'); |
|
29 | } |
||
38 |