Doctrine\ODM\OrientDB\Mapper\Annotations\Reader::getClassAnnotations PHP Method

getClassAnnotations() public method

Gets the annotations applied to a class.
public getClassAnnotations ( ReflectionClass $class ) : array
$class ReflectionClass The ReflectionClass of the class from which the class annotations should be read.
return array An array of Annotations.
    public function getClassAnnotations(\ReflectionClass $class)
    {
        return $this->getReader()->getClassAnnotations($class);
    }