| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function __construct() |
||
| 19 | { |
||
| 20 | $container = new ContainerBuilder(); |
||
| 21 | |||
| 22 | $extensions = array( |
||
| 23 | new RentgenExtension(), |
||
| 24 | new DamiExtension(), |
||
| 25 | ); |
||
| 26 | foreach ($extensions as $extension) { |
||
| 27 | $container->registerExtension($extension); |
||
| 28 | $container->loadFromExtension($extension->getAlias()); |
||
| 29 | } |
||
| 30 | $container->addCompilerPass(new RegisterListenersPass()); |
||
| 31 | $container->compile(); |
||
| 32 | |||
| 33 | $this->container = $container; |
||
| 34 | } |
||
| 35 | |||
| 46 |