Skip to content

Docblock Annotations Parser library based on Doctrine Annotations.

License

Notifications You must be signed in to change notification settings

smalldb/annotations

 
 

Repository files navigation

Smalldb Annotations

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.

Documentation

See the doctrine-project website.

Contributing

When making a pull request, make sure your changes follow the Coding Standard Guidelines.

Changelog

See CHANGELOG.md.

About

Docblock Annotations Parser library based on Doctrine Annotations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%