__construct()
getDocParser()
onCreateAnnotation()
registerAnnotation()
registerAnnotations()
setDocParser()
$allowedAnnotations
$docParser
A parser for docblock annotations that utilizes the annotation parser from Doctrine\Common.
Consumes Doctrine\Common\Annotations\DocParser, 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.
__construct()
getDocParser() : \Doctrine\Common\Annotations\DocParser
If none is registered, lazy-loads a new instance.
\Doctrine\Common\Annotations\DocParser
onCreateAnnotation(\Zend\EventManager\EventInterface $e) : false | \stdClass
registerAnnotation(string $annotation) : \Zend\Code\Annotation\Parser\DoctrineAnnotationParser
registerAnnotations(array | \Traversable $annotations) : \Zend\Code\Annotation\Parser\DoctrineAnnotationParser
array\Traversable
Array or traversable object of annotation class names
\Zend\Code\Exception\InvalidArgumentException |
---|
setDocParser(\Doctrine\Common\Annotations\DocParser $docParser) : \Zend\Code\Annotation\Parser\DoctrineAnnotationParser
\Doctrine\Common\Annotations\DocParser
$allowedAnnotations : array
$docParser : \Doctrine\Common\Annotations\DocParser