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