isConnected() public méthode

Checks if the connection to Redis is considered open.
public isConnected ( ) : boolean
Résultat boolean
Exemple #1
0
 /**
  * Returns the current state of the underlying connection.
  *
  * @return bool
  */
 public function isConnected()
 {
     return $this->connection->isConnected();
 }