responseHeaders = $responseHeaders; $this->responseBody = $responseBody; } /** * Gets the HTTP response header * * @return string[]|null HTTP response header */ public function getResponseHeaders() { return $this->responseHeaders; } /** * Gets the HTTP body of the server response either as Json or string * * @return mixed HTTP body of the server response either as \stdClass or string */ public function getResponseBody() { return $this->responseBody; } /** * Sets the deseralized response object (during deserialization) * * @param mixed $obj Deserialized response object * * @return void */ public function setResponseObject($obj) { $this->responseObject = $obj; } /** * Gets the deseralized response object (during deserialization) * * @return mixed the deserialized response object */ public function getResponseObject() { return $this->responseObject; } }