src/Http/Cookie/Cookies.php
public function fetchCookies($request, $response)
    {
        foreach ($response->cookies($request) as $cookie) {
            $this->add($cookie);
        }
        return $this;
    }
public function fetchCookies($request, $response)
    {
        foreach ($response->cookies($request) as $cookie) {
            $this->add($cookie);
        }
        return $this;
    }
public function fetchCookies ( $ request , $ response ) { foreach ( $ response -> cookies ( $ request ) as $ cookie ) { $ this -> add ( $ cookie ) ; } return $ this ; }
Collect the Set-Cookie header from a response.

@param  RequestInterface  $request  The request.
@param  ResponseInterface $response The response.
@return self
Collect the Set - Cookie header from a response .