A parser for docblock annotations that utilizes the annotation parser from DoctrineCommon.
Consumes DoctrineCommonAnnotationsDocParser, and responds to events from AnnotationManager. If the annotation examined is in the list of classes we are interested in, the raw annotation is passed to the DocParser in order to retrieve the annotation object instance. Otherwise, it is skipped.
Set the DocParser instance
Parameters: | DocParser – |
---|---|
Return type: | DoctrineAnnotationParser |
Retrieve the DocParser instance
If none is registered, lazy-loads a new instance.
Return type: | DocParser |
---|
Handle annotation creation
Parameters: | EventInterface – |
---|---|
Return type: | false|stdClass |