hyperf-chat/app/Cache/Contracts/HashRedisInterface.php

24 lines
409 B
PHP
Raw Normal View History

2021-05-20 16:53:34 +08:00
<?php
namespace App\Cache\Contracts;
interface HashRedisInterface
{
public function get(string ...$key);
public function add(string $key, string $value);
public function rem(string ...$key);
public function incr(string $member, int $score);
public function count();
public function all();
public function isMember(string $key);
public function delete(string $key);
}