Gets the annotations applied to a property.
\ReflectionProperty $property The ReflectionProperty of the property: from which the annotations should be read.
array An array of Annotations.
Overrides Reader::getPropertyAnnotations
public function getPropertyAnnotations(\ReflectionProperty $property) {
return $this->parser
->parse($property
->getDocComment(), 'property ' . $property
->getDeclaringClass()->name . '::$' . $property
->getName());
}