-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_ide_helper_redis.php
313 lines (308 loc) · 15.4 KB
/
_ide_helper_redis.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<?php
namespace Illuminate\Support\Facades {
/**@method static int del(array $keys)
* @method static string dump($key)
* @method static int exists($key)
* @method static int expire($key, $seconds)
* @method static int expireat($key, $timestamp)
* @method static array keys($pattern)
* @method static int move($key, $db)
* @method static mixed object($subcommand, $key)
* @method static int persist($key)
* @method static int pexpire($key, $milliseconds)
* @method static int pexpireat($key, $timestamp)
* @method static int pttl($key)
* @method static string randomkey()
* @method static mixed rename($key, $target)
* @method static int renamenx($key, $target)
* @method static array scan($cursor, array $options = null)
* @method static array sort($key, array $options = null)
* @method static int ttl($key)
* @method static mixed type($key)
* @method static int append($key, $value)
* @method static int bitcount($key, $start = null, $end = null)
* @method static int bitop($operation, $destkey, $key)
* @method static array bitfield($key, $subcommand, ...$subcommandArg)
* @method static int decr($key)
* @method static int decrby($key, $decrement)
* @method static string get($key)
* @method static int getbit($key, $offset)
* @method static string getrange($key, $start, $end)
* @method static string getset($key, $value)
* @method static int incr($key)
* @method static int incrby($key, $increment)
* @method static string incrbyfloat($key, $increment)
* @method static array mget(array $keys)
* @method static mixed mset(array $dictionary)
* @method static int msetnx(array $dictionary)
* @method static mixed psetex($key, $milliseconds, $value)
* @method static mixed set($key, $value, $expireResolution = null, $expireTTL = null, $flag = null)
* @method static int setbit($key, $offset, $value)
* @method static int setex($key, $seconds, $value)
* @method static int setnx($key, $value)
* @method static int setrange($key, $offset, $value)
* @method static int strlen($key)
* @method static int hdel($key, array $fields)
* @method static int hexists($key, $field)
* @method static string hget($key, $field)
* @method static array hgetall($key)
* @method static int hincrby($key, $field, $increment)
* @method static string hincrbyfloat($key, $field, $increment)
* @method static array hkeys($key)
* @method static int hlen($key)
* @method static array hmget($key, array $fields)
* @method static mixed hmset($key, array $dictionary)
* @method static array hscan($key, $cursor, array $options = null)
* @method static int hset($key, $field, $value)
* @method static int hsetnx($key, $field, $value)
* @method static array hvals($key)
* @method static int hstrlen($key, $field)
* @method static array blpop(array $keys, $timeout)
* @method static array brpop(array $keys, $timeout)
* @method static array brpoplpush($source, $destination, $timeout)
* @method static string lindex($key, $index)
* @method static int linsert($key, $whence, $pivot, $value)
* @method static int llen($key)
* @method static string lpop($key)
* @method static int lpush($key, array $values)
* @method static int lpushx($key, $value)
* @method static array lrange($key, $start, $stop)
* @method static int lrem($key, $count, $value)
* @method static mixed lset($key, $index, $value)
* @method static mixed ltrim($key, $start, $stop)
* @method static string rpop($key)
* @method static string rpoplpush($source, $destination)
* @method static int rpush($key, array $values)
* @method static int rpushx($key, $value)
* @method static int sadd($key, array $members)
* @method static int scard($key)
* @method static array sdiff(array $keys)
* @method static int sdiffstore($destination, array $keys)
* @method static array sinter(array $keys)
* @method static int sinterstore($destination, array $keys)
* @method static int sismember($key, $member)
* @method static array smembers($key)
* @method static int smove($source, $destination, $member)
* @method static string spop($key, $count = null)
* @method static string srandmember($key, $count = null)
* @method static int srem($key, $member)
* @method static array sscan($key, $cursor, array $options = null)
* @method static array sunion(array $keys)
* @method static int sunionstore($destination, array $keys)
* @method static int zadd($key, array $membersAndScoresDictionary)
* @method static int zcard($key)
* @method static string zcount($key, $min, $max)
* @method static string zincrby($key, $increment, $member)
* @method static int zinterstore($destination, array $keys, array $options = null)
* @method static array zrange($key, $start, $stop, array $options = null)
* @method static array zrangebyscore($key, $min, $max, array $options = null)
* @method static int zrank($key, $member)
* @method static int zrem($key, $member)
* @method static int zremrangebyrank($key, $start, $stop)
* @method static int zremrangebyscore($key, $min, $max)
* @method static array zrevrange($key, $start, $stop, array $options = null)
* @method static array zrevrangebyscore($key, $max, $min, array $options = null)
* @method static int zrevrank($key, $member)
* @method static int zunionstore($destination, array $keys, array $options = null)
* @method static string zscore($key, $member)
* @method static array zscan($key, $cursor, array $options = null)
* @method static array zrangebylex($key, $start, $stop, array $options = null)
* @method static array zrevrangebylex($key, $start, $stop, array $options = null)
* @method static int zremrangebylex($key, $min, $max)
* @method static int zlexcount($key, $min, $max)
* @method static int pfadd($key, array $elements)
* @method static mixed pfmerge($destinationKey, array $sourceKeys)
* @method static int pfcount(array $keys)
* @method static mixed pubsub($subcommand, $argument)
* @method static int publish($channel, $message)
* @method static mixed discard()
* @method static array exec()
* @method static mixed multi()
* @method static mixed unwatch()
* @method static mixed watch($key)
* @method static mixed eval($script, $numkeys, $keyOrArg1 = null, $keyOrArgN = null)
* @method static mixed evalsha($script, $numkeys, $keyOrArg1 = null, $keyOrArgN = null)
* @method static mixed script($subcommand, $argument = null)
* @method static mixed auth($password)
* @method static string echo ($message)
* @method static mixed ping($message = null)
* @method static mixed select($database)
* @method static mixed bgrewriteaof()
* @method static mixed bgsave()
* @method static mixed client($subcommand, $argument = null)
* @method static mixed config($subcommand, $argument = null)
* @method static int dbsize()
* @method static mixed flushall()
* @method static mixed flushdb()
* @method static array info($section = null)
* @method static int lastsave()
* @method static mixed save()
* @method static mixed slaveof($host, $port)
* @method static mixed slowlog($subcommand, $argument = null)
* @method static array time()
* @method static array command()
* @method static int geoadd($key, $longitude, $latitude, $member)
* @method static array geohash($key, array $members)
* @method static array geopos($key, array $members)
* @method static string geodist($key, $member1, $member2, $unit = null)
* @method static array georadius($key, $longitude, $latitude, $radius, $unit, array $options = null)
* @method static array georadiusbymember($key, $member, $radius, $unit, array $options = null)
*/
class Redis
{
}
}
namespace Illuminate\Redis\Connections {
/**
* @method int del(array $keys)
* @method string dump($key)
* @method int exists($key)
* @method int expire($key, $seconds)
* @method int expireat($key, $timestamp)
* @method array keys($pattern)
* @method int move($key, $db)
* @method mixed object($subcommand, $key)
* @method int persist($key)
* @method int pexpire($key, $milliseconds)
* @method int pexpireat($key, $timestamp)
* @method int pttl($key)
* @method string randomkey()
* @method mixed rename($key, $target)
* @method int renamenx($key, $target)
* @method array scan($cursor, array $options = null)
* @method array sort($key, array $options = null)
* @method int ttl($key)
* @method mixed type($key)
* @method int append($key, $value)
* @method int bitcount($key, $start = null, $end = null)
* @method int bitop($operation, $destkey, $key)
* @method array bitfield($key, $subcommand, ...$subcommandArg)
* @method int decr($key)
* @method int decrby($key, $decrement)
* @method string get($key)
* @method int getbit($key, $offset)
* @method string getrange($key, $start, $end)
* @method string getset($key, $value)
* @method int incr($key)
* @method int incrby($key, $increment)
* @method string incrbyfloat($key, $increment)
* @method array mget(array $keys)
* @method mixed mset(array $dictionary)
* @method int msetnx(array $dictionary)
* @method mixed psetex($key, $milliseconds, $value)
* @method mixed set($key, $value, $expireResolution = null, $expireTTL = null, $flag = null)
* @method int setbit($key, $offset, $value)
* @method int setex($key, $seconds, $value)
* @method int setnx($key, $value)
* @method int setrange($key, $offset, $value)
* @method int strlen($key)
* @method int hdel($key, array $fields)
* @method int hexists($key, $field)
* @method string hget($key, $field)
* @method array hgetall($key)
* @method int hincrby($key, $field, $increment)
* @method string hincrbyfloat($key, $field, $increment)
* @method array hkeys($key)
* @method int hlen($key)
* @method array hmget($key, array $fields)
* @method mixed hmset($key, array $dictionary)
* @method array hscan($key, $cursor, array $options = null)
* @method int hset($key, $field, $value)
* @method int hsetnx($key, $field, $value)
* @method array hvals($key)
* @method int hstrlen($key, $field)
* @method array blpop(array $keys, $timeout)
* @method array brpop(array $keys, $timeout)
* @method array brpoplpush($source, $destination, $timeout)
* @method string lindex($key, $index)
* @method int linsert($key, $whence, $pivot, $value)
* @method int llen($key)
* @method string lpop($key)
* @method int lpush($key, array $values)
* @method int lpushx($key, $value)
* @method array lrange($key, $start, $stop)
* @method int lrem($key, $count, $value)
* @method mixed lset($key, $index, $value)
* @method mixed ltrim($key, $start, $stop)
* @method string rpop($key)
* @method string rpoplpush($source, $destination)
* @method int rpush($key, array $values)
* @method int rpushx($key, $value)
* @method int sadd($key, array $members)
* @method int scard($key)
* @method array sdiff(array $keys)
* @method int sdiffstore($destination, array $keys)
* @method array sinter(array $keys)
* @method int sinterstore($destination, array $keys)
* @method int sismember($key, $member)
* @method array smembers($key)
* @method int smove($source, $destination, $member)
* @method string spop($key, $count = null)
* @method string srandmember($key, $count = null)
* @method int srem($key, $member)
* @method array sscan($key, $cursor, array $options = null)
* @method array sunion(array $keys)
* @method int sunionstore($destination, array $keys)
* @method int zadd($key, array $membersAndScoresDictionary)
* @method int zcard($key)
* @method string zcount($key, $min, $max)
* @method string zincrby($key, $increment, $member)
* @method int zinterstore($destination, array $keys, array $options = null)
* @method array zrange($key, $start, $stop, array $options = null)
* @method array zrangebyscore($key, $min, $max, array $options = null)
* @method int zrank($key, $member)
* @method int zrem($key, $member)
* @method int zremrangebyrank($key, $start, $stop)
* @method int zremrangebyscore($key, $min, $max)
* @method array zrevrange($key, $start, $stop, array $options = null)
* @method array zrevrangebyscore($key, $max, $min, array $options = null)
* @method int zrevrank($key, $member)
* @method int zunionstore($destination, array $keys, array $options = null)
* @method string zscore($key, $member)
* @method array zscan($key, $cursor, array $options = null)
* @method array zrangebylex($key, $start, $stop, array $options = null)
* @method array zrevrangebylex($key, $start, $stop, array $options = null)
* @method int zremrangebylex($key, $min, $max)
* @method int zlexcount($key, $min, $max)
* @method int pfadd($key, array $elements)
* @method mixed pfmerge($destinationKey, array $sourceKeys)
* @method int pfcount(array $keys)
* @method mixed pubsub($subcommand, $argument)
* @method int publish($channel, $message)
* @method mixed discard()
* @method array exec()
* @method mixed multi()
* @method mixed unwatch()
* @method mixed watch($key)
* @method mixed eval($script, $numkeys, $keyOrArg1 = null, $keyOrArgN = null)
* @method mixed evalsha($script, $numkeys, $keyOrArg1 = null, $keyOrArgN = null)
* @method mixed script($subcommand, $argument = null)
* @method mixed auth($password)
* @method string echo ($message)
* @method mixed ping($message = null)
* @method mixed select($database)
* @method mixed bgrewriteaof()
* @method mixed bgsave()
* @method mixed client($subcommand, $argument = null)
* @method mixed config($subcommand, $argument = null)
* @method int dbsize()
* @method mixed flushall()
* @method mixed flushdb()
* @method array info($section = null)
* @method int lastsave()
* @method mixed save()
* @method mixed slaveof($host, $port)
* @method mixed slowlog($subcommand, $argument = null)
* @method array time()
* @method array command()
* @method int geoadd($key, $longitude, $latitude, $member)
* @method array geohash($key, array $members)
* @method array geopos($key, array $members)
* @method string geodist($key, $member1, $member2, $unit = null)
* @method array georadius($key, $longitude, $latitude, $radius, $unit, array $options = null)
* @method array georadiusbymember($key, $member, $radius, $unit, array $options = null)
*/
abstract class Connection
{
}
}