| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | 1 | public function build(ContainerBuilder $container): void |
|
| 30 | { |
||
| 31 | 1 | parent::build($container); |
|
| 32 | 1 | if (class_exists(DoctrineOrmMappingsPass::class)) { |
|
| 33 | 1 | $container->addCompilerPass(new DoctrineCompilerPass()); |
|
| 34 | } |
||
| 35 | 1 | $container->addCompilerPass(new ImagineCompilerPass()); |
|
| 36 | 1 | $container->addCompilerPass(new ApiPlatformCompilerPass()); |
|
| 37 | 1 | } |
|
| 39 |