| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function load(array $configs, ContainerBuilder $container): void |
||
| 17 | { |
||
| 18 | $configuration = new Configuration(); |
||
| 19 | $config = $this->processConfiguration($configuration, $configs); |
||
| 20 | |||
| 21 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 22 | $loader->load('services.yaml'); |
||
| 23 | |||
| 24 | $auditorConfig = $config; |
||
| 25 | unset($auditorConfig['providers']); |
||
| 26 | $container->setParameter('dh_auditor.configuration', $auditorConfig); |
||
| 27 | |||
| 28 | $this->loadProviders($container, $config); |
||
| 29 | } |
||
| 41 |