Zend\Code\Annotation\Parser\GenericAnnotationParser::registerAnnotation
Register annotations
Signature
public function registerAnnotation(string|AnnotationInterface
$annotation )
Parameters
$annotation
— object- String class name of an
AnnotationInterface implementation, or actual instance
Returns
- GenericAnnotationParser