| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function load(array $configs, ContainerBuilder $container): void |
||
| 18 | { |
||
| 19 | $configuration = new Configuration(); |
||
| 20 | $config = $this->processConfiguration($configuration, $configs); |
||
| 21 | $container->setParameter('beelab_simple_page.page_class', $config['page_class']); |
||
| 22 | $container->setParameter('beelab_simple_page.resources_prefix', $config['resources_prefix']); |
||
| 23 | $container->setParameter('beelab_simple_page.show_route', $config['show_route']); |
||
| 24 | |||
| 25 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 26 | $loader->load('services.xml'); |
||
| 27 | } |
||
| 28 | } |
||
| 29 |