Conditions | 3 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
20 | public function load(array $configs, ContainerBuilder $container) |
||
21 | { |
||
22 | $configuration = new Configuration(); |
||
23 | $config = $this->processConfiguration($configuration, $configs); |
||
24 | |||
25 | if (is_array($config['filesystem']) && count($config['filesystem']) > 0) { |
||
26 | $container->setParameter('liip_theme_provider.config.filesystem.paths', $config['filesystem']); |
||
27 | } |
||
28 | |||
29 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
30 | $loader->load('container.xml'); |
||
31 | $loader->load('controller.xml'); |
||
32 | $loader->load('provider.xml'); |
||
33 | } |
||
34 | } |
||
35 |