function Reader::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<object> An array of Annotations.
4 methods override Reader::getPropertyAnnotations()
- AnnotationReader::getPropertyAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets the annotations applied to a property.
- IndexedReader::getPropertyAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ IndexedReader.php - Gets the annotations applied to a property.
- PsrCachedReader::getPropertyAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ PsrCachedReader.php - Gets the annotations applied to a property.
- SimpleAnnotationReader::getPropertyAnnotations in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ SimpleAnnotationReader.php - Gets the annotations applied to a property.
File
-
vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ Reader.php, line 67
Class
- Reader
- Interface for annotation readers.
Namespace
Doctrine\Common\AnnotationsCode
public function getPropertyAnnotations(ReflectionProperty $property);