public function SimpleAnnotationReader::getPropertyAnnotations in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php \Doctrine\Common\Annotations\SimpleAnnotationReader::getPropertyAnnotations()
Gets the annotations applied to a property.
Parameters
\ReflectionProperty $property The ReflectionProperty of the property: from which the annotations should be read.
Return value
array An array of Annotations.
Overrides Reader::getPropertyAnnotations
1 call to SimpleAnnotationReader::getPropertyAnnotations()
- 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/ SimpleAnnotationReader.php, line 81
Class
- SimpleAnnotationReader
- Simple Annotation Reader.
Namespace
Doctrine\Common\AnnotationsCode
public function getPropertyAnnotations(\ReflectionProperty $property) {
return $this->parser
->parse($property
->getDocComment(), 'property ' . $property
->getDeclaringClass()->name . '::$' . $property
->getName());
}