disconnect() public method

Closes the underlying connection from the server.
public disconnect ( )
Esempio n. 1
0
 /**
  * {@inheritDoc}
  */
 public function disconnect()
 {
     return $this->predis->disconnect();
 }
Esempio n. 2
0
 /**
  * close redis connection
  */
 public function __destruct()
 {
     if ($this->client) {
         $this->client->disconnect();
     }
 }
Esempio n. 3
0
 public function disconnectFromRedis()
 {
     $this->redis->disconnect();
 }