| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function load(array $configs, ContainerBuilder $container) |
||
| 21 | { |
||
| 22 | $configuration = new Configuration(); |
||
| 23 | $config = $this->processConfiguration($configuration, $configs); |
||
| 24 | |||
| 25 | $container->setParameter('everlution.ajaxcom.flash_template', $config[C::FLASH_TEMPLATE]); |
||
| 26 | $container->setParameter('everlution.ajaxcom.flash_block_id', $config[C::FLASH_BLOCK_ID]); |
||
| 27 | $container->setParameter('everlution.ajaxcom.persistent_class', $config[C::PERSISTENT_CLASS]); |
||
| 28 | $container->setParameter('everlution.ajaxcom.blocks_to_render', $config[C::BLOCKS_TO_RENDER]); |
||
| 29 | |||
| 30 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 31 | $loader->load('services.yml'); |
||
| 32 | } |
||
| 34 |