예제 #1
0
파일: REST.php 프로젝트: corcre/elabftw
 private function getRunningClient()
 {
     if ($this->client->getHistory()->isEmpty()) {
         throw new ModuleException($this, "Response is empty. Use `\$I->sendXXX()` methods to send HTTP request");
     }
     return $this->client;
 }