| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 21 | public function load(array $configs, ContainerBuilder $container) |
||
| 22 | { |
||
| 23 | $configuration = new Configuration(); |
||
| 24 | $config = $this->processConfiguration($configuration, $configs); |
||
| 25 | |||
| 26 | $container->setParameter('sleepness_uber_translation.memcached.host', $config['memcached']['host']); |
||
| 27 | $container->setParameter('sleepness_uber_translation.memcached.port', $config['memcached']['port']); |
||
| 28 | |||
| 29 | $container->setParameter('sleepness_uber_translation.supported_locales', $config['supported_locales']); |
||
| 30 | |||
| 31 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 32 | $loader->load('services.xml'); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |