public function getReflectionClass($className)
    {
        if (isset($this->classReflections[$className])) {
            return $this->classReflections[$className];
        }

        $class = new \ReflectionClass($className);
        $this->classReflections[$className] = $class;

        return $class;
    }
public function getReflectionClass($className)
    {
        if (isset($this->classReflections[$className])) {
            return $this->classReflections[$className];
        }

        $class = new \ReflectionClass($className);
        $this->classReflections[$className] = $class;

        return $class;
    }
public function getReflectionClass ( $ className ) { if ( isset ( $ this -> classReflections [ $ className ] ) ) { return $ this -> classReflections [ $ className ] ; } $ class = new \ ReflectionClass ( $ className ) ; $ this -> classReflections [ $ className ] = $ class ; return $ class ; }
Get the reflection class instance for a class name.

@param string $className Full class name.

@return \ReflectionClass
Get the reflection class instance for a class name .