Elastica\Status::getResponse PHP 메소드

getResponse() 공개 메소드

Returns response object.
public getResponse ( ) : Response
리턴 Response Response object
    public function getResponse()
    {
        if (is_null($this->_response)) {
            $this->refresh();
        }
        return $this->_response;
    }

Usage Example

예제 #1
0
 /**
  * @group functional
  */
 public function testGetResponse()
 {
     $index = $this->_createIndex();
     $status = new Status($index->getClient());
     $this->assertInstanceOf('Elastica\\Response', $status->getResponse());
 }