Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | protected function getContainer(array $config = array()) |
||
32 | { |
||
33 | $container = new ContainerBuilder(); |
||
34 | $container->getCompilerPassConfig()->setOptimizationPasses(array()); |
||
35 | $container->getCompilerPassConfig()->setRemovingPasses(array()); |
||
36 | $loader = new LocationBundleExtension(); |
||
37 | $loader->load($config, $container); |
||
38 | $container->compile(); |
||
39 | return $container; |
||
40 | } |
||
41 | } |
||
42 |