Doctrine\ODM\OrientDB\Mapper\Annotations\Reader::getPropertyAnnotation PHP Метод

getPropertyAnnotation() публичный Метод

Gets a property annotation.
public getPropertyAnnotation ( ReflectionProperty $property, string $annotation ) : The
$property ReflectionProperty
$annotation string The name of the annotation.
Результат The Annotation or null, if the requested annotation does not exist.
    public function getPropertyAnnotation(\ReflectionProperty $property, $annotation)
    {
        return $this->getReader()->getPropertyAnnotation($property, $annotation);
    }