juliangut/mapping

Support cached annotation reader

Closed this issue · 2 comments

Accept a Doctrine\Common\Annotations\Reader at https://github.com/juliangut/mapping/blob/master/src/Driver/AbstractAnnotationDriver.php#L37 instead of AnnotationReader so a CachedReader can be provided

Add Doctrine Cache implementation in AbstractDriverFactory constructor so it can be used at implementations of getAnnotationDriver

Not implementing

Implemented cache at metadataResolver level to cache resulting metadata