HTTPResponse::getContent PHP Метод

getContent() публичный Метод

public getContent ( ) : string
Результат string
    public function getContent()
    {
        return $this->responseBody;
    }

Usage 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());
 }