public function IndexedReader::getClassAnnotation

Get selected annotation for class

Parameters

\ReflectionClass $class:

string $annotation:

Return value

mixed

Overrides Reader::getClassAnnotation

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/IndexedReader.php, line 69

Class

IndexedReader
Allows the reader to be used in-place of Doctrine's reader.

Namespace

Doctrine\Common\Annotations

Code

public function getClassAnnotation(\ReflectionClass $class, $annotation) {
  return $this->delegate
    ->getClassAnnotation($class, $annotation);
}