public function SimpleAnnotationReader::getClassAnnotations in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Annotation/Doctrine/SimpleAnnotationReader.php \Drupal\Component\Annotation\Doctrine\SimpleAnnotationReader::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 
- This class is a near-copy of Doctrine\Common\Annotations\SimpleAnnotationReader, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.
Class
- SimpleAnnotationReader
- Simple Annotation Reader.
Namespace
Drupal\Component\Annotation\DoctrineCode
public function getClassAnnotations(\ReflectionClass $class) {
  return $this->parser
    ->parse($class
    ->getDocComment(), 'class ' . $class
    ->getName());
}