storage[$key])) { $response = $this->storage[$key]; return true; } return false; } public function store(string $key, Response $response) : bool { $this->storage[$key] = $response; return true; } public function clear() { $this->storage = []; } public function getStorage() : array { return $this->storage; } }