Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
14 | public function load(array $configs, ContainerBuilder $container) |
||
15 | { |
||
16 | $configuration = new Configuration(); |
||
17 | $config = $this->processConfiguration($configuration, $configs); |
||
18 | |||
19 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
20 | $loader->load('services.xml'); |
||
21 | |||
22 | $container->setParameter('paysera_logging_extra.application_name', $config['application_name']); |
||
23 | $container->setParameter('paysera_logging_extra.grouped_exceptions', $config['grouped_exceptions']); |
||
24 | } |
||
25 | } |
||
26 |