public function IndexedReader::getPropertyAnnotation

Get selected annotation for property

Parameters

\ReflectionProperty $property:

string $annotation:

Return value

mixed

Overrides Reader::getPropertyAnnotation

File

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

Class

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

Namespace

Doctrine\Common\Annotations

Code

public function getPropertyAnnotation(\ReflectionProperty $property, $annotation) {
  return $this->delegate
    ->getPropertyAnnotation($property, $annotation);
}