public function setResponse(Response $response, $url)
    {
        $this->response = $response;
        $this->previousUrl = $url;
    }
public function setResponse(Response $response, $url)
    {
        $this->response = $response;
        $this->previousUrl = $url;
    }
public function setResponse ( Response $ response , $ url ) { $ this -> response = $ response ; $ this -> previousUrl = $ url ; }
Set a response for the current connection settings along with the URL
which was used to obtain the response.
@param Response $response
@param string $url The URL corresponding to $response.
Set a response for the current connection settings along with the URL which was used to obtain the response .