HTTPResponse::getContent PHP Method

getContent() public method

public getContent ( ) : string
return string
    public function getContent()
    {
        return $this->responseBody;
    }

Usage Example

Example #1
0
 /**
  * @brief	Efetua a chamada à operação da API
  * @return	stdClass
  */
 public function call()
 {
     $this->httpResponse = $this->httpConnection->execute('/json-api/' . $this->getOperationName());
     return json_decode($this->httpResponse->getContent());
 }