disconnect() public method

Closes the underlying connection from the server.
public disconnect ( )
コード例 #1
0
ファイル: PredisBridge.php プロジェクト: php-resque/resque
 /**
  * {@inheritDoc}
  */
 public function disconnect()
 {
     return $this->predis->disconnect();
 }
コード例 #2
0
ファイル: Service.php プロジェクト: spryker/Storage
 /**
  * close redis connection
  */
 public function __destruct()
 {
     if ($this->client) {
         $this->client->disconnect();
     }
 }
コード例 #3
0
 public function disconnectFromRedis()
 {
     $this->redis->disconnect();
 }