| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function load(array $configs, ContainerBuilder $container) |
||
| 24 | { |
||
| 25 | $configuration = new Configuration(); |
||
| 26 | $config = $this->processConfiguration($configuration, $configs); |
||
| 27 | |||
| 28 | $container->setParameter('projet_normandie_email.from', $config['from']); |
||
| 29 | $container->setParameter('projet_normandie_email.to', $config['to']); |
||
| 30 | |||
| 31 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 32 | $loader->load('services.yml'); |
||
| 33 | } |
||
| 35 |