Gets the annotations applied to a class.
\ReflectionClass $class The ReflectionClass of the class from which: the class annotations should be read.
array An array of Annotations.
Overrides Reader::getClassAnnotations
public function getClassAnnotations(\ReflectionClass $class) {
return $this->parser
->parse($class
->getDocComment(), 'class ' . $class
->getName());
}