| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | 2 | public function prepend(ContainerBuilder $container) |
|
| 28 | { |
||
| 29 | 2 | if (false === $container->hasExtension('doctrine')) { |
|
| 30 | 1 | return false; |
|
| 31 | } |
||
| 32 | |||
| 33 | $container |
||
| 34 | 1 | ->loadFromExtension( |
|
| 35 | 'doctrine', |
||
| 36 | [ |
||
| 37 | 'dbal' => [ |
||
| 38 | 'driver_class' => Driver::class, |
||
| 39 | 'types' => [ |
||
| 40 | 'cursor' => CursorType::class, |
||
| 41 | ], |
||
| 47 |