Close() public method

public Close ( )
 /**
  * Close Sphinx persistent connection.
  *
  * @throws ESphinxException if client is not connected.
  * @link http://sphinxsearch.com/docs/current.html#api-func-close
  */
 public function closeConnection()
 {
     if (!$this->isConnected) {
         throw new ESphinxException("Sphinx client is already closed");
     }
     $this->sphinxClient->Close();
     $this->isConnected = false;
 }
Ejemplo n.º 2
0
 public function close()
 {
     $this->_sphinx->Close();
 }