| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function load(array $configs, ContainerBuilder $container) |
||
| 32 | { |
||
| 33 | $configuration = new Configuration(); |
||
| 34 | $config = $this->processConfiguration($configuration, $configs); |
||
| 35 | |||
| 36 | // Register parameters into container. |
||
| 37 | $container->setParameter('magento', $config); |
||
| 38 | |||
| 39 | // Register services. |
||
| 40 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 41 | $loader->load('services.yml'); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |