public function addFromResponse(Response $response) { foreach ($response->getCookies() as $cookie) { $this->insert($cookie); } }