| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function load(array $configs, ContainerBuilder $container): void |
||
| 13 | { |
||
| 14 | $config = $this->processConfiguration($this->getConfiguration([], $container), $configs); |
||
|
|
|||
| 15 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 16 | |||
| 17 | $container->setParameter('locastic_symfony_translation.default_locale', $config['default_locale']); |
||
| 18 | $container->setParameter('locastic_symfony_translation.locales', $config['locales']); |
||
| 19 | |||
| 20 | $loader->load('services.xml'); |
||
| 21 | } |
||
| 23 |