Doctrine\ODM\OrientDB\Mapper\ClassMetadataFactory::getPropertyAnnotation PHP Method

getPropertyAnnotation() public method

Returns the annotation of a property.
public getPropertyAnnotation ( ReflectionProperty $property ) : Property
$property ReflectionProperty
return Doctrine\ODM\OrientDB\Mapper\Annotations\Property
    public function getPropertyAnnotation(\ReflectionProperty $property)
    {
        return $this->annotationReader->getPropertyAnnotation($property, self::ANNOTATION_PROPERTY_CLASS);
    }