| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 1 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | public function newMappingDriver(): MappingDriver { |
||
| 23 | // We're only calling this for the side effect of adding Mapping/Driver/DoctrineAnnotations.php |
||
| 24 | // to the AnnotationRegistry. When AnnotationRegistry is deprecated with Doctrine Annotations 2.0, |
||
| 25 | // use $this->annotationReader instead |
||
| 26 | return new XmlDriver( self::DOCTRINE_CLASS_MAPPING_DIRECTORY ); |
||
|
|
|||
| 27 | } |
||
| 30 |