public function IndexedReader::getMethodAnnotation

Get selected annotation for method

Parameters

\ReflectionMethod $method:

string $annotation:

Return value

mixed

Overrides Reader::getMethodAnnotation

File

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

Class

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

Namespace

Doctrine\Common\Annotations

Code

public function getMethodAnnotation(\ReflectionMethod $method, $annotation) {
  return $this->delegate
    ->getMethodAnnotation($method, $annotation);
}