Kevinrob\GuzzleCache\Storage\CompressedDoctrineCacheStorage::fetch PHP Method

fetch() public method

public fetch ( $key )
    public function fetch($key)
    {
        try {
            $cache = unserialize(gzuncompress($this->cache->fetch($key)));
            if ($cache instanceof CacheEntry) {
                return $cache;
            }
        } catch (\Exception $ignored) {
            return;
        }
        return;
    }
CompressedDoctrineCacheStorage