Zend\Code\Annotation\Parser\GenericAnnotationParser::onCreateAnnotation
Listen to onCreateAnnotation, and attempt to return an annotation object instance.
If the annotation class or alias is not registered, immediately returns false. Otherwise, resolves the class, clones it, and, if any content is present, calls with the content.
Signature
public function onCreateAnnotation(EventInterface
$e )
Parameters
Returns
- false|AnnotationInterface