Doctrine\ODM\OrientDB\Mapper\Annotations\ReaderInterface::getPropertyAnnotation PHP Method

getPropertyAnnotation() public method

Gets a property annotation.
public getPropertyAnnotation ( ReflectionProperty $property, string $annotation ) : The
$property ReflectionProperty
$annotation string The name of the annotation.
return The Annotation or null, if the requested annotation does not exist.
    public function getPropertyAnnotation(\ReflectionProperty $property, $annotation);