isConnected() public method

Checks if the connection to Redis is considered open.
public isConnected ( ) : boolean
return boolean
コード例 #1
0
ファイル: Client.php プロジェクト: nrk/predis
 /**
  * Returns the current state of the underlying connection.
  *
  * @return bool
  */
 public function isConnected()
 {
     return $this->connection->isConnected();
 }