public function getClass($class)
    {
        $cacheKey = self::CACHE_KEY_CLASSES . strtolower($class);

        if (! $reflectionClass = $this->cache->fetch($cacheKey)) {
            $reflectionClass = new ReflectionClass($class);
            $this->cache->store($cacheKey, $reflectionClass);
        }

        return $reflectionClass;
    }
public function getClass($class)
    {
        $cacheKey = self::CACHE_KEY_CLASSES . strtolower($class);

        if (! $reflectionClass = $this->cache->fetch($cacheKey)) {
            $reflectionClass = new ReflectionClass($class);
            $this->cache->store($cacheKey, $reflectionClass);
        }

        return $reflectionClass;
    }
public function getClass ( $ class ) { $ cacheKey = self :: CACHE_KEY_CLASSES . strtolower ( $ class ) ; if ( ! $ reflectionClass = $ this -> cache -> fetch ( $ cacheKey ) ) { $ reflectionClass = new ReflectionClass ( $ class ) ; $ this -> cache -> store ( $ cacheKey , $ reflectionClass ) ; } return $ reflectionClass ; }
Retrieves ReflectionClass instances, caching them for future retrieval.

@since 0.3.0

@param string $class Class name to retrieve the ReflectionClass from.

@return ReflectionClass ReflectionClass object for the specified class.
Retrieves ReflectionClass instances caching them for future retrieval .