/** * to do hash */ public function destroy($sessionId) { list($hashKey, $key) = RedisHelper::hashKey($this->prefix, $sessionId); return $this->redis->hDel($hashKey, $key); }