Doctrine\ODM\OrientDB\Mapper\Annotations\Reader::getPropertyAnnotations PHP Method

getPropertyAnnotations() public method

Gets the annotations applied to a property.
public getPropertyAnnotations ( ReflectionProperty $property ) : array
$property ReflectionProperty The name or ReflectionProperty of the property from which the annotations should be read.
return array An array of Annotations.
    public function getPropertyAnnotations(\ReflectionProperty $property)
    {
        return $this->getReader()->getPropertyAnnotations($property);
    }