Zend\Code\Annotation\Parser\DoctrineAnnotationParser::registerAnnotations
Set many allowed annotations at once
Signature
public function registerAnnotations(array|Traversable
$annotations )
Parameters
$annotations
— object- Array or traversable object of
annotation class names
Returns
- DoctrineAnnotationParser