isConnected() 공개 메소드

Checks if the connection to Redis is considered open.
public isConnected ( ) : boolean
리턴 boolean
예제 #1
0
파일: Client.php 프로젝트: nrk/predis
 /**
  * Returns the current state of the underlying connection.
  *
  * @return bool
  */
 public function isConnected()
 {
     return $this->connection->isConnected();
 }