cache = $cache; } public function fetch(string $key, Response &$response = null) : bool { $response = $this->cache->get($key); return !!$response; } public function store(string $key, Response $response) : bool { return $this->cache->set($key, $response); } public function clear() { $this->cache->clear(); } }