Total Complexity | 4 |
Total Lines | 59 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
10 | final class StreamGroupConsumer extends RedisStream |
||
11 | { |
||
12 | /** |
||
13 | * Create group Consumer |
||
14 | * |
||
15 | * @param string $groupName |
||
16 | * @param bool $isShowFullHistoryStream |
||
17 | * |
||
18 | * @return bool |
||
19 | * |
||
20 | * @throws \Exception |
||
21 | */ |
||
22 | public function create(string $groupName, bool $isShowFullHistoryStream = true) : bool |
||
40 | } |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * Delete group Consumer |
||
45 | * |
||
46 | * @param string $groupName |
||
47 | * |
||
48 | * @return bool |
||
49 | * |
||
50 | * @throws \Exception |
||
51 | */ |
||
52 | public function destroy(string $groupName) : bool |
||
71 | } |