You are here

function Reader::getPropertyAnnotation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php \Doctrine\Common\Annotations\Reader::getPropertyAnnotation()

Gets a property annotation.

Parameters

\ReflectionProperty $property The ReflectionProperty to read the annotations from.:

string $annotationName The name of the annotation.:

Return value

object|null The Annotation or NULL, if the requested annotation does not exist.

5 methods override Reader::getPropertyAnnotation()
AnnotationReader::getPropertyAnnotation in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php
Gets a property annotation.
CachedReader::getPropertyAnnotation in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php
Gets a property annotation.
FileCacheReader::getPropertyAnnotation in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php
Gets a property annotation.
IndexedReader::getPropertyAnnotation in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php
Gets a property annotation.
SimpleAnnotationReader::getPropertyAnnotation in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php
Gets a property annotation.

File

vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php, line 88

Class

Reader
Interface for annotation readers.

Namespace

Doctrine\Common\Annotations

Code

function getPropertyAnnotation(\ReflectionProperty $property, $annotationName);