| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 27 | public function load(array $configs, ContainerBuilder $container) |
||
| 28 | { |
||
| 29 | $configuration = new Configuration(); |
||
| 30 | $config = $this->processConfiguration($configuration, $configs); |
||
| 31 | |||
| 32 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 33 | $loader->load('services.yml'); |
||
| 34 | |||
| 35 | $container->setParameter('es.cache', $config['cache']); |
||
| 36 | $container->setParameter('es.analysis', $config['analysis']); |
||
| 37 | $container->setParameter('es.connections', $config['connections']); |
||
| 38 | $container->setParameter('es.managers', $config['managers']); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |