Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
27 | 7 | private function createAnnotationMetadataDriver( |
|
28 | string $metadataClassName = ClassMetadata::class, |
||
29 | Reader $reader = null |
||
30 | ): DriverInterface { |
||
31 | 7 | $driver = new AnnotationDriver( |
|
32 | 7 | $reader ?? new AnnotationReader(), |
|
33 | 7 | $metadataClassName |
|
34 | ); |
||
35 | |||
36 | 7 | return $driver; |
|
37 | } |
||
44 |