| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| 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 | $container->setParameter('bcrm_web.content_dir', $config['content_dir']); |
||
| 28 | $container->setParameter('bcrm_web.content_path', $config['content_path']); |
||
| 29 | |||
| 30 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 31 | $loader->load('controllers.xml'); |
||
| 32 | $loader->load('services.xml'); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |