Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function load(array $configs, ContainerBuilder $container): void |
||
22 | { |
||
23 | $configuration = new Configuration(); |
||
24 | $config = $this->processConfiguration($configuration, $configs); |
||
25 | |||
26 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
27 | $loader->load('services.xml'); |
||
28 | |||
29 | $container->setParameter('core23_doctrine.table.prefix', $config['table']['prefix']); |
||
30 | } |
||
32 |