eZ\Bundle\EzPublishRestBundle\Features\Context\RestClient\GuzzleDriver::getResponse PHP Method

getResponse() protected method

Get reponse.
protected getResponse ( ) : Guzzle\Http\Message\Response
return Guzzle\Http\Message\Response
    protected function getResponse()
    {
        if ($this->sent) {
            return $this->response;
        }
        throw new \RuntimeException("Attempt to get response data when request hasn't been sent yet");
    }