eZ\Bundle\EzPublishRestBundle\Features\Context\SubContext\EzRest::getResponseObject PHP Method

getResponseObject() public method

Get the response object (if it's not converted do the conversion also).
public getResponseObject ( ) : eZ\Publish\API\Repository\Values\ValueObject
return eZ\Publish\API\Repository\Values\ValueObject
    public function getResponseObject()
    {
        if (empty($this->responseObject)) {
            $this->responseObject = $this->convertResponseBodyToObject($this->restDriver->getBody(), $this->restDriver->getHeader('content-type'));
        }
        return $this->responseObject;
    }