| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function load(array $configs, ContainerBuilder $container) |
||
| 15 | { |
||
| 16 | $configuration = new Configuration(); |
||
| 17 | $config = $this->processConfiguration($configuration, $configs); |
||
| 18 | |||
| 19 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 20 | $loader->load('services.xml'); |
||
| 21 | $ymlLoader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 22 | $ymlLoader->load('data_grid.yml'); |
||
| 23 | |||
| 24 | $container->getDefinition('data_grid.configuration_container') |
||
| 25 | ->setArgument(0, $config); |
||
| 26 | } |
||
| 28 |