src/Common/Reflection/Annotations.php
protected function setClass($class): void
    {
        // @todo fix logic about storing the classname
        $this->className = $class;
        if (is_object($class)) {
            $this->className = get_class($class);
        }
        $this->class = new ReflectionClass($class);
    }
protected function setClass($class): void
    {
        // @todo fix logic about storing the classname
        $this->className = $class;
        if (is_object($class)) {
            $this->className = get_class($class);
        }
        $this->class = new ReflectionClass($class);
    }
protected function setClass ( $ class ) : void { // @todo fix logic about storing the classname $ this -> className = $ class ; if ( is_object ( $ class ) ) { $ this -> className = get_class ( $ class ) ; } $ this -> class = new ReflectionClass ( $ class ) ; }
Set the class name we want and load ReflectionClass
@param mixed $class
@throws ReflectionException
Set the class name we want and load ReflectionClass