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

21 lines
341 B
PHP
Raw Normal View History

2021-05-20 16:53:34 +08:00
<?php
namespace App\Cache\Contracts;
interface SetRedisInterface
{
public function count();
public function add(string ...$member);
public function rem(string ...$member);
public function isMember(string $member);
2021-05-20 16:58:56 +08:00
2021-05-20 16:53:34 +08:00
public function randMember($count = 1);
public function all();
2021-05-20 16:58:56 +08:00
public function delete();
2021-05-20 16:53:34 +08:00
}