Docblock Annotations Parser library based on Doctrine Annotations.
The motivation for this fork of Doctrine Annotations is to ease the implementation of backwards-incompatible features which are difficult to incorporate in such a widely used library.
Added features:
-
Support for Class constant annotations --- see
Reader::getConstantAnnotations()
. -
RecursiveAnnotationReader
collects annotations from parent classes in addition to the given class and returns the list of all annotations sorted from the oldest ancestor to the requested class.
Removed features:
-
All caching readers are removed, because the annotations are further processed and the final result should be cached.
-
AnnotationRegistry
is removed as well in favor of the use of standard PHP autoloader.
See the doctrine-project website.
When making a pull request, make sure your changes follow the Coding Standard Guidelines.
See CHANGELOG.md.