/** * Returns all annotations. * * @return array */ public final function getAnnotations() { return $this->docComment->getAnnotations(); }
/** * Checks if there is a particular annotation. * * @param string $name Annotation name * * @return boolean */ public final function hasAnnotation($name) { return $this->docComment->hasAnnotation($name); }