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);