forked from phpredis/phpredis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redis_array.stub.php
64 lines (34 loc) · 1.54 KB
/
redis_array.stub.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* @generate-function-entries
* @generate-legacy-arginfo
*/
class RedisArray {
public function __call(string $function_name, array $arguments): mixed;
public function __construct(string|array $name_or_hosts, array $options = NULL);
public function _continuum(): bool|array;
public function _distributor(): bool|callable;
public function _function(): bool|callable;
public function _hosts(): bool|array;
public function _instance(string $host): bool|null|Redis;
public function _rehash(callable $fn = NULL): bool|null;
public function _target(string $key): bool|string|null;
public function bgsave(): array;
public function del(string|array $key, string ...$otherkeys): bool|int;
public function discard(): bool|null;
public function exec(): bool|null;
public function flushall(): bool|array;
public function flushdb(): bool|array;
public function getOption(int $opt): bool|array;
public function info(): bool|array;
public function keys(string $pattern): bool|array;
public function mget(array $keys): bool|array;
public function mset(array $pairs): bool;
public function multi(string $host, int $mode = NULL): bool|RedisArray;
public function ping(): bool|array;
public function save(): bool|array;
public function select(int $index): bool|array;
public function setOption(int $opt, string $value): bool|array;
public function unlink(string|array $key, string ...$otherkeys): bool|int;
public function unwatch(): bool|null;
}