| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function load(array $configs, ContainerBuilder $container) |
||
| 14 | { |
||
| 15 | $config = $this->processConfiguration(new Configuration(), $configs); |
||
| 16 | $container->setParameter('rapido.table_name_prefix', $config['table_name_prefix']); |
||
| 17 | $container->setParameter('rapido.table_name_suffix', $config['table_name_suffix']); |
||
| 18 | $container->setParameter('rapido.id_column_name', $config['id_column_name']); |
||
| 19 | $container->setAlias('rapido.database_connection', $config['database_connection']); |
||
| 20 | |||
| 21 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 22 | $loader->load('services.xml'); |
||
| 23 | } |
||
| 29 |