Redis.php 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @method static \Illuminate\Redis\Connections\Connection connection(\UnitEnum|string|null $name = null)
  5. * @method static \Illuminate\Redis\Connections\Connection resolve(string|null $name = null)
  6. * @method static array connections()
  7. * @method static void enableEvents()
  8. * @method static void disableEvents()
  9. * @method static void setDriver(string $driver)
  10. * @method static void purge(string|null $name = null)
  11. * @method static \Illuminate\Redis\RedisManager extend(string $driver, \Closure $callback)
  12. * @method static void createSubscription(array|string $channels, \Closure $callback, string $method = 'subscribe')
  13. * @method static \Illuminate\Redis\Limiters\ConcurrencyLimiterBuilder funnel(string $name)
  14. * @method static \Illuminate\Redis\Limiters\DurationLimiterBuilder throttle(string $name)
  15. * @method static mixed client()
  16. * @method static void subscribe(array|string $channels, \Closure $callback)
  17. * @method static void psubscribe(array|string $channels, \Closure $callback)
  18. * @method static mixed command(string $method, array $parameters = [])
  19. * @method static void listen(\Closure $callback)
  20. * @method static void listenForFailures(\Closure $callback)
  21. * @method static string|null getName()
  22. * @method static \Illuminate\Redis\Connections\Connection setName(string $name)
  23. * @method static \Illuminate\Contracts\Events\Dispatcher|null getEventDispatcher()
  24. * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
  25. * @method static void unsetEventDispatcher()
  26. * @method static void macro(string $name, object|callable $macro)
  27. * @method static void mixin(object $mixin, bool $replace = true)
  28. * @method static bool hasMacro(string $name)
  29. * @method static void flushMacros()
  30. * @method static mixed macroCall(string $method, array $parameters)
  31. * @method static string _compress(string $value)
  32. * @method static string _uncompress(string $value)
  33. * @method static string _prefix(string $key)
  34. * @method static string _serialize(mixed $value)
  35. * @method static mixed _unserialize(string $value)
  36. * @method static string _pack(mixed $value)
  37. * @method static mixed _unpack(string $value)
  38. * @method static mixed acl(string $subcmd, string ...$args)
  39. * @method static \Redis|int|false append(string $key, mixed $value)
  40. * @method static \Redis|bool auth(mixed $credentials)
  41. * @method static \Redis|bool bgSave()
  42. * @method static \Redis|bool bgrewriteaof()
  43. * @method static \Redis|array|false waitaof(int $numlocal, int $numreplicas, int $timeout)
  44. * @method static \Redis|int|false bitcount(string $key, int $start = 0, int $end = -1, bool $bybit = false)
  45. * @method static \Redis|int|false bitop(string $operation, string $deskey, string $srckey, string ...$other_keys)
  46. * @method static \Redis|int|false bitpos(string $key, bool $bit, int $start = 0, int $end = -1, bool $bybit = false)
  47. * @method static \Redis|array|false|null blPop(array|string $key_or_keys, string|int|float $timeout_or_key, mixed ...$extra_args)
  48. * @method static \Redis|array|false|null brPop(array|string $key_or_keys, string|int|float $timeout_or_key, mixed ...$extra_args)
  49. * @method static \Redis|string|false brpoplpush(string $src, string $dst, int|float $timeout)
  50. * @method static \Redis|array|false bzPopMax(array|string $key, string|int $timeout_or_key, mixed ...$extra_args)
  51. * @method static \Redis|array|false bzPopMin(array|string $key, string|int $timeout_or_key, mixed ...$extra_args)
  52. * @method static \Redis|array|false|null bzmpop(float $timeout, array $keys, string $from, int $count = 1)
  53. * @method static \Redis|array|false|null zmpop(array $keys, string $from, int $count = 1)
  54. * @method static \Redis|array|false|null blmpop(float $timeout, array $keys, string $from, int $count = 1)
  55. * @method static \Redis|array|false|null lmpop(array $keys, string $from, int $count = 1)
  56. * @method static bool clearLastError()
  57. * @method static bool close()
  58. * @method static mixed config(string $operation, array|string|null $key_or_settings = null, string|null $value = null)
  59. * @method static bool connect(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null)
  60. * @method static \Redis|bool copy(string $src, string $dst, array|null $options = null)
  61. * @method static \Redis|int|false dbSize()
  62. * @method static \Redis|string debug(string $key)
  63. * @method static \Redis|int|false decr(string $key, int $by = 1)
  64. * @method static \Redis|int|false decrBy(string $key, int $value)
  65. * @method static \Redis|int|false del(array|string $key, string ...$other_keys)
  66. * @method static \Redis|int|false delifeq(string $key, mixed $value)
  67. * @method static \Redis|bool discard()
  68. * @method static \Redis|string|false dump(string $key)
  69. * @method static \Redis|string|false echo(string $str)
  70. * @method static mixed eval(string $script, array $args = [], int $num_keys = 0)
  71. * @method static mixed eval_ro(string $script_sha, array $args = [], int $num_keys = 0)
  72. * @method static mixed evalsha(string $sha1, array $args = [], int $num_keys = 0)
  73. * @method static mixed evalsha_ro(string $sha1, array $args = [], int $num_keys = 0)
  74. * @method static \Redis|array|false exec()
  75. * @method static \Redis|int|bool exists(mixed $key, mixed ...$other_keys)
  76. * @method static \Redis|bool expire(string $key, int $timeout, string|null $mode = null)
  77. * @method static \Redis|bool expireAt(string $key, int $timestamp, string|null $mode = null)
  78. * @method static \Redis|bool failover(array|null $to = null, bool $abort = false, int $timeout = 0)
  79. * @method static \Redis|int|false expiretime(string $key)
  80. * @method static \Redis|int|false pexpiretime(string $key)
  81. * @method static mixed fcall(string $fn, array $keys = [], array $args = [])
  82. * @method static mixed fcall_ro(string $fn, array $keys = [], array $args = [])
  83. * @method static \Redis|bool flushAll(bool|null $sync = null)
  84. * @method static \Redis|bool flushDB(bool|null $sync = null)
  85. * @method static \Redis|array|string|bool function(string $operation, mixed ...$args)
  86. * @method static \Redis|int|false geoadd(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options)
  87. * @method static \Redis|float|false geodist(string $key, string $src, string $dst, string|null $unit = null)
  88. * @method static \Redis|array|false geohash(string $key, string $member, string ...$other_members)
  89. * @method static \Redis|array|false geopos(string $key, string $member, string ...$other_members)
  90. * @method static mixed georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
  91. * @method static mixed georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
  92. * @method static mixed georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = [])
  93. * @method static mixed georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = [])
  94. * @method static array geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])
  95. * @method static \Redis|array|int|false geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])
  96. * @method static mixed get(string $key)
  97. * @method static \Redis|array|false getWithMeta(string $key)
  98. * @method static mixed getAuth()
  99. * @method static \Redis|int|false getBit(string $key, int $idx)
  100. * @method static \Redis|string|bool getEx(string $key, array $options = [])
  101. * @method static int getDBNum()
  102. * @method static \Redis|string|bool getDel(string $key)
  103. * @method static string getHost()
  104. * @method static string|null getLastError()
  105. * @method static int getMode()
  106. * @method static mixed getOption(int $option)
  107. * @method static string|null getPersistentID()
  108. * @method static int getPort()
  109. * @method static string|false serverName()
  110. * @method static string|false serverVersion()
  111. * @method static \Redis|string|false getRange(string $key, int $start, int $end)
  112. * @method static \Redis|array|string|int|false lcs(string $key1, string $key2, array|null $options = null)
  113. * @method static float getReadTimeout()
  114. * @method static \Redis|string|false getset(string $key, mixed $value)
  115. * @method static float|false getTimeout()
  116. * @method static array getTransferredBytes()
  117. * @method static void clearTransferredBytes()
  118. * @method static \Redis|int|false hDel(string $key, string $field, string ...$other_fields)
  119. * @method static \Redis|bool hExists(string $key, string $field)
  120. * @method static mixed hGet(string $key, string $member)
  121. * @method static \Redis|array|false hGetAll(string $key)
  122. * @method static mixed hGetWithMeta(string $key, string $member)
  123. * @method static \Redis|int|false hIncrBy(string $key, string $field, int $value)
  124. * @method static \Redis|float|false hIncrByFloat(string $key, string $field, float $value)
  125. * @method static \Redis|array|false hKeys(string $key)
  126. * @method static \Redis|int|false hLen(string $key)
  127. * @method static \Redis|array|false hMget(string $key, array $fields)
  128. * @method static \Redis|array|false hgetex(string $key, array $fields, array|string|null $expiry = null)
  129. * @method static \Redis|int|false hsetex(string $key, array $fields, array|null $expiry = null)
  130. * @method static \Redis|array|false hgetdel(string $key, array $fields)
  131. * @method static \Redis|bool hMset(string $key, array $fieldvals)
  132. * @method static \Redis|array|string|false hRandField(string $key, array|null $options = null)
  133. * @method static \Redis|int|false hSet(string $key, mixed ...$fields_and_vals)
  134. * @method static \Redis|bool hSetNx(string $key, string $field, mixed $value)
  135. * @method static \Redis|int|false hStrLen(string $key, string $field)
  136. * @method static \Redis|array|false hVals(string $key)
  137. * @method static \Redis|array|false hexpire(string $key, int $ttl, array $fields, string|null $mode = null)
  138. * @method static \Redis|array|false hpexpire(string $key, int $ttl, array $fields, string|null $mode = null)
  139. * @method static \Redis|array|false hexpireat(string $key, int $time, array $fields, string|null $mode = null)
  140. * @method static \Redis|array|false hpexpireat(string $key, int $mstime, array $fields, string|null $mode = null)
  141. * @method static \Redis|array|false httl(string $key, array $fields)
  142. * @method static \Redis|array|false hpttl(string $key, array $fields)
  143. * @method static \Redis|array|false hexpiretime(string $key, array $fields)
  144. * @method static \Redis|array|false hpexpiretime(string $key, array $fields)
  145. * @method static \Redis|array|false hpersist(string $key, array $fields)
  146. * @method static \Redis|array|bool hscan(string $key, string|int|null $iterator, string|null $pattern = null, int $count = 0)
  147. * @method static \Redis|int|false expiremember(string $key, string $field, int $ttl, string|null $unit = null)
  148. * @method static \Redis|int|false expirememberat(string $key, string $field, int $timestamp)
  149. * @method static \Redis|int|false incr(string $key, int $by = 1)
  150. * @method static \Redis|int|false incrBy(string $key, int $value)
  151. * @method static \Redis|float|false incrByFloat(string $key, float $value)
  152. * @method static \Redis|array|false info(string ...$sections)
  153. * @method static bool isConnected()
  154. * @method static void keys(string $pattern)
  155. * @method static void lInsert(string $key, string $pos, mixed $pivot, mixed $value)
  156. * @method static \Redis|int|false lLen(string $key)
  157. * @method static \Redis|string|false lMove(string $src, string $dst, string $wherefrom, string $whereto)
  158. * @method static \Redis|string|false blmove(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)
  159. * @method static \Redis|array|string|bool lPop(string $key, int $count = 0)
  160. * @method static \Redis|array|int|bool|null lPos(string $key, mixed $value, array|null $options = null)
  161. * @method static \Redis|int|false lPush(string $key, mixed ...$elements)
  162. * @method static \Redis|int|false rPush(string $key, mixed ...$elements)
  163. * @method static \Redis|int|false lPushx(string $key, mixed $value)
  164. * @method static \Redis|int|false rPushx(string $key, mixed $value)
  165. * @method static \Redis|bool lSet(string $key, int $index, mixed $value)
  166. * @method static int lastSave()
  167. * @method static mixed lindex(string $key, int $index)
  168. * @method static \Redis|array|false lrange(string $key, int $start, int $end)
  169. * @method static \Redis|int|false lrem(string $key, mixed $value, int $count = 0)
  170. * @method static \Redis|bool ltrim(string $key, int $start, int $end)
  171. * @method static \Redis|array|false mget(array $keys)
  172. * @method static \Redis|bool migrate(string $host, int $port, array|string $key, int $dstdb, int $timeout, bool $copy = false, bool $replace = false, mixed $credentials = null)
  173. * @method static \Redis|bool move(string $key, int $index)
  174. * @method static \Redis|bool mset(array $key_values)
  175. * @method static \Redis|bool msetnx(array $key_values)
  176. * @method static \Redis|bool multi(int $value = 1)
  177. * @method static \Redis|string|int|false object(string $subcommand, string $key)
  178. * @method static bool pconnect(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null)
  179. * @method static \Redis|bool persist(string $key)
  180. * @method static bool pexpire(string $key, int $timeout, string|null $mode = null)
  181. * @method static \Redis|bool pexpireAt(string $key, int $timestamp, string|null $mode = null)
  182. * @method static \Redis|int pfadd(string $key, array $elements)
  183. * @method static \Redis|int|false pfcount(array|string $key_or_keys)
  184. * @method static \Redis|bool pfmerge(string $dst, array $srckeys)
  185. * @method static \Redis|string|bool ping(string|null $message = null)
  186. * @method static \Redis|bool pipeline()
  187. * @method static \Redis|bool psetex(string $key, int $expire, mixed $value)
  188. * @method static \Redis|int|false pttl(string $key)
  189. * @method static \Redis|int|false publish(string $channel, string $message)
  190. * @method static mixed pubsub(string $command, mixed $arg = null)
  191. * @method static \Redis|array|bool punsubscribe(array $patterns)
  192. * @method static \Redis|array|string|bool rPop(string $key, int $count = 0)
  193. * @method static \Redis|string|false randomKey()
  194. * @method static mixed rawcommand(string $command, mixed ...$args)
  195. * @method static \Redis|bool rename(string $old_name, string $new_name)
  196. * @method static \Redis|bool renameNx(string $key_src, string $key_dst)
  197. * @method static \Redis|bool reset()
  198. * @method static \Redis|bool restore(string $key, int $ttl, string $value, array|null $options = null)
  199. * @method static mixed role()
  200. * @method static \Redis|string|false rpoplpush(string $srckey, string $dstkey)
  201. * @method static \Redis|int|false sAdd(string $key, mixed $value, mixed ...$other_values)
  202. * @method static int sAddArray(string $key, array $values)
  203. * @method static \Redis|array|false sDiff(string $key, string ...$other_keys)
  204. * @method static \Redis|int|false sDiffStore(string $dst, string $key, string ...$other_keys)
  205. * @method static \Redis|array|false sInter(array|string $key, string ...$other_keys)
  206. * @method static \Redis|int|false sintercard(array $keys, int $limit = -1)
  207. * @method static \Redis|int|false sInterStore(array|string $key, string ...$other_keys)
  208. * @method static \Redis|array|false sMembers(string $key)
  209. * @method static \Redis|array|false sMisMember(string $key, string $member, string ...$other_members)
  210. * @method static \Redis|bool sMove(string $src, string $dst, mixed $value)
  211. * @method static \Redis|array|string|false sPop(string $key, int $count = 0)
  212. * @method static mixed sRandMember(string $key, int $count = 0)
  213. * @method static \Redis|array|false sUnion(string $key, string ...$other_keys)
  214. * @method static \Redis|int|false sUnionStore(string $dst, string $key, string ...$other_keys)
  215. * @method static \Redis|bool save()
  216. * @method static array|false scan(string|int|null $iterator, string|null $pattern = null, int $count = 0, string|null $type = null)
  217. * @method static \Redis|int|false scard(string $key)
  218. * @method static mixed script(string $command, mixed ...$args)
  219. * @method static \Redis|bool select(int $db)
  220. * @method static \Redis|string|bool set(string $key, mixed $value, mixed $options = null)
  221. * @method static \Redis|int|false setBit(string $key, int $idx, bool $value)
  222. * @method static \Redis|int|false setRange(string $key, int $index, string $value)
  223. * @method static bool setOption(int $option, mixed $value)
  224. * @method static void setex(string $key, int $expire, mixed $value)
  225. * @method static \Redis|bool setnx(string $key, mixed $value)
  226. * @method static \Redis|bool sismember(string $key, mixed $value)
  227. * @method static \Redis|bool replicaof(string|null $host = null, int $port = 6379)
  228. * @method static \Redis|int|false touch(array|string $key_or_array, string ...$more_keys)
  229. * @method static mixed slowlog(string $operation, int $length = 0)
  230. * @method static mixed sort(string $key, array|null $options = null)
  231. * @method static mixed sort_ro(string $key, array|null $options = null)
  232. * @method static \Redis|int|false srem(string $key, mixed $value, mixed ...$other_values)
  233. * @method static array|false sscan(string $key, string|int|null $iterator, string|null $pattern = null, int $count = 0)
  234. * @method static bool ssubscribe(array $channels, callable $cb)
  235. * @method static \Redis|int|false strlen(string $key)
  236. * @method static \Redis|array|bool sunsubscribe(array $channels)
  237. * @method static \Redis|bool swapdb(int $src, int $dst)
  238. * @method static \Redis|array time()
  239. * @method static \Redis|int|false ttl(string $key)
  240. * @method static \Redis|int|false type(string $key)
  241. * @method static \Redis|int|false unlink(array|string $key, string ...$other_keys)
  242. * @method static \Redis|array|bool unsubscribe(array $channels)
  243. * @method static \Redis|bool unwatch()
  244. * @method static \Redis|bool watch(array|string $key, string ...$other_keys)
  245. * @method static int|false wait(int $numreplicas, int $timeout)
  246. * @method static int|false xack(string $key, string $group, array $ids)
  247. * @method static \Redis|string|false xadd(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false, bool $nomkstream = false)
  248. * @method static \Redis|array|bool xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)
  249. * @method static \Redis|array|bool xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options)
  250. * @method static \Redis|int|false xdel(string $key, array $ids)
  251. * @method static mixed xgroup(string $operation, string|null $key = null, string|null $group = null, string|null $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)
  252. * @method static mixed xinfo(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1)
  253. * @method static \Redis|int|false xlen(string $key)
  254. * @method static \Redis|array|false xpending(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null)
  255. * @method static \Redis|array|bool xrange(string $key, string $start, string $end, int $count = -1)
  256. * @method static \Redis|array|bool xread(array $streams, int $count = -1, int $block = -1)
  257. * @method static \Redis|array|bool xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)
  258. * @method static \Redis|array|bool xrevrange(string $key, string $end, string $start, int $count = -1)
  259. * @method static \Redis|int|false vadd(string $key, array $values, mixed $element, array|null $options = null)
  260. * @method static \Redis|array|false vsim(string $key, mixed $member, array|null $options = null)
  261. * @method static \Redis|int|false vcard(string $key)
  262. * @method static \Redis|int|false vdim(string $key)
  263. * @method static \Redis|array|false vinfo(string $key)
  264. * @method static \Redis|bool vismember(string $key, mixed $member)
  265. * @method static \Redis|array|false vemb(string $key, mixed $member, bool $raw = false)
  266. * @method static \Redis|array|string|false vrandmember(string $key, int $count = 0)
  267. * @method static \Redis|array|false vrange(string $key, string $min, string $max, int $count = -1)
  268. * @method static \Redis|int|false vrem(string $key, mixed $member)
  269. * @method static \Redis|int|false vsetattr(string $key, mixed $member, array|string $attributes)
  270. * @method static \Redis|array|string|false vgetattr(string $key, mixed $member, bool $decode = true)
  271. * @method static \Redis|array|false vlinks(string $key, mixed $member, bool $withscores = false)
  272. * @method static \Redis|int|false xtrim(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1)
  273. * @method static \Redis|int|float|false zAdd(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems)
  274. * @method static \Redis|int|false zCard(string $key)
  275. * @method static \Redis|int|false zCount(string $key, string|int $start, string|int $end)
  276. * @method static \Redis|float|false zIncrBy(string $key, float $value, mixed $member)
  277. * @method static \Redis|int|false zLexCount(string $key, string $min, string $max)
  278. * @method static \Redis|array|false zMscore(string $key, mixed $member, mixed ...$other_members)
  279. * @method static \Redis|array|false zPopMax(string $key, int|null $count = null)
  280. * @method static \Redis|array|false zPopMin(string $key, int|null $count = null)
  281. * @method static \Redis|array|false zRange(string $key, string|int $start, string|int $end, array|bool|null $options = null)
  282. * @method static \Redis|array|false zRangeByLex(string $key, string $min, string $max, int $offset = -1, int $count = -1)
  283. * @method static \Redis|array|false zRangeByScore(string $key, string $start, string $end, array $options = [])
  284. * @method static \Redis|int|false zrangestore(string $dstkey, string $srckey, string $start, string $end, array|bool|null $options = null)
  285. * @method static \Redis|array|string zRandMember(string $key, array|null $options = null)
  286. * @method static \Redis|int|false zRank(string $key, mixed $member)
  287. * @method static \Redis|int|false zRem(mixed $key, mixed $member, mixed ...$other_members)
  288. * @method static \Redis|int|false zRemRangeByLex(string $key, string $min, string $max)
  289. * @method static \Redis|int|false zRemRangeByRank(string $key, int $start, int $end)
  290. * @method static \Redis|int|false zRemRangeByScore(string $key, string $start, string $end)
  291. * @method static \Redis|array|false zRevRange(string $key, int $start, int $end, mixed $scores = null)
  292. * @method static \Redis|array|false zRevRangeByLex(string $key, string $max, string $min, int $offset = -1, int $count = -1)
  293. * @method static \Redis|array|false zRevRangeByScore(string $key, string $max, string $min, array|bool $options = [])
  294. * @method static \Redis|int|false zRevRank(string $key, mixed $member)
  295. * @method static \Redis|float|false zScore(string $key, mixed $member)
  296. * @method static \Redis|array|false zdiff(array $keys, array|null $options = null)
  297. * @method static \Redis|int|false zdiffstore(string $dst, array $keys)
  298. * @method static \Redis|array|false zinter(array $keys, array|null $weights = null, array|null $options = null)
  299. * @method static \Redis|int|false zintercard(array $keys, int $limit = -1)
  300. * @method static \Redis|int|false zinterstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)
  301. * @method static \Redis|array|false zscan(string $key, string|int|null $iterator, string|null $pattern = null, int $count = 0)
  302. * @method static \Redis|array|false zunion(array $keys, array|null $weights = null, array|null $options = null)
  303. * @method static \Redis|int|false zunionstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)
  304. *
  305. * @see \Illuminate\Redis\RedisManager
  306. */
  307. class Redis extends Facade
  308. {
  309. /**
  310. * Get the registered name of the component.
  311. *
  312. * @return string
  313. */
  314. protected static function getFacadeAccessor()
  315. {
  316. return 'redis';
  317. }
  318. }