public function getClassFromCache($class)
    {
        // from cache
        if (($file = $this->cache->read($class))) {
            require $file;
        }

        // from disk
        if ($file = $this->findClass($class)) {
            $this->cache->save('wf.component.class_loader.' . $class, $file, 600, [
                    '_wf',
                    '_component',
                    '_class_loader'
                ]);
            require $file;
        }
    }