You are here

function Reader::getPropertyAnnotation in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/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 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php
Gets a property annotation.
CachedReader::getPropertyAnnotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php
Gets a property annotation.
FileCacheReader::getPropertyAnnotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php
Gets a property annotation.
IndexedReader::getPropertyAnnotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php
Gets a property annotation.
SimpleAnnotationReader::getPropertyAnnotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php
Gets a property annotation.

File

modules/providers/service_container_annotation_discovery/lib/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);