Doctrine\Common\Annotations\FileCacheReader::getPropertyAnnotation
Gets a property annotation.
Signature
public function getPropertyAnnotation(ReflectionProperty
$property,
string
$annotationName )
Parameters
$property
— \ReflectionProperty
$annotationName
— string- The name of the annotation.
Returns
- mixed
- The Annotation or NULL, if the requested annotation does not exist.