utils.common.doctrine-annotations-wrapper

Provide an install script for a Doctrine's AnnotationReader in Mouf Framework.

The install script will create a default annotationReader instance in Mouf. Therefore, you can reach the annotation using \Mouf::getAnnotationReader()

This annotation reader has the following properties:

  • No need to register the annotations (if the annotation class is reachable by Composer's autoloader, then it will be automatically autoloaded)
  • Cached

Found a typo? Something is wrong in this documentation? Just fork and edit it!