public function getResponseObject() { if (empty($this->responseObject)) { $this->responseObject = $this->convertResponseBodyToObject($this->restDriver->getBody(), $this->restDriver->getHeader('content-type')); } return $this->responseObject; }