Doctrine\ODM\OrientDB\Mapper\Annotations\ReaderInterface::getClassAnnotation PHP Метод

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

Gets a class annotation.
public getClassAnnotation ( ReflectionClass $class, string $annotation ) : The
$class ReflectionClass The ReflectionClass of the class from which the class annotations should be read.
$annotation string The name of the annotation.
Результат The Annotation or null, if the requested annotation does not exist.
    public function getClassAnnotation(\ReflectionClass $class, $annotation);