| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function build(ContainerBuilder $container) |
||
| 35 | { |
||
| 36 | $this->checkDependencies(['BenGorFileBundle', 'DoctrineBundle'], $container); |
||
| 37 | |||
| 38 | $container |
||
| 39 | ->addCompilerPass(new DoctrineORMCustomTypesPass(), PassConfig::TYPE_OPTIMIZE) |
||
| 40 | ->addCompilerPass(new DoctrineORMServicesPass(), PassConfig::TYPE_OPTIMIZE); |
||
| 41 | |||
| 42 | $container->loadFromExtension('doctrine', [ |
||
| 43 | 'orm' => [ |
||
| 44 | 'mappings' => [ |
||
| 45 | 'BenGorFileDoctrineORMBridgeBundle' => [ |
||
| 46 | 'type' => 'yml', |
||
| 47 | 'is_bundle' => true, |
||
| 48 | 'prefix' => 'BenGorFile\\File\\Domain\\Model', |
||
| 49 | ], |
||
| 50 | ], |
||
| 51 | ], |
||
| 52 | ]); |
||
| 53 | } |
||
| 54 | } |
||
| 55 |