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

getResponse() protected method

Get reponse.
protected getResponse ( ) : Buzz\Message\Response
return Buzz\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");
    }