disconnect() public method

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