function SimpleAnnotationReader::getClassAnnotations
Overrides Reader::getClassAnnotations
1 call to SimpleAnnotationReader::getClassAnnotations()
- SimpleAnnotationReader::getClassAnnotation in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ SimpleAnnotationReader.php - Gets a class annotation.
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ SimpleAnnotationReader.php, line 99
Class
- SimpleAnnotationReader
- Simple Annotation Reader.
Namespace
Drupal\Component\Annotation\DoctrineCode
public function getClassAnnotations(\ReflectionClass $class) {
return $this->parser
->parse($class->getDocComment(), 'class ' . $class->getName());
}