/** * {@inheritDoc} */ public function disconnect() { return $this->predis->disconnect(); }
/** * close redis connection */ public function __destruct() { if ($this->client) { $this->client->disconnect(); } }
public function disconnectFromRedis() { $this->redis->disconnect(); }