src/Friendlification.php
protected static function getReflection($class)
    {
        if (!isset(self::$reflections[$class])) {
            self::$reflections[$class] = new ReflectionClass($class);
        }
        $result = self::$reflections[$class];

        return $result;
    }
protected static function getReflection($class)
    {
        if (!isset(self::$reflections[$class])) {
            self::$reflections[$class] = new ReflectionClass($class);
        }
        $result = self::$reflections[$class];

        return $result;
    }
protected static function getReflection ( $ class ) { if ( ! isset ( self :: $ reflections [ $ class ] ) ) { self :: $ reflections [ $ class ] = new ReflectionClass ( $ class ) ; } $ result = self :: $ reflections [ $ class ] ; return $ result ; }
Returns reflection by class name.

@param  string $class
@return ReflectionClass
@throws \ReflectionException  Risen from ReflectionClass::__construct().
@internal
Returns reflection by class name .