Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function load(array $configs, ContainerBuilder $container) |
||
23 | { |
||
24 | // Process the config. |
||
25 | $config = $this->processConfiguration(new Configuration(), $configs); |
||
26 | |||
27 | // Load bundle services. |
||
28 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
29 | $loader->load('services.yml'); |
||
30 | |||
31 | $serviceLoader = new ServiceLoaderManager($container); |
||
32 | $serviceLoader->loadServices($config); |
||
33 | } |
||
34 | } |
||
35 |