| 148 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
namespace Illuminate\Support\Facades;
|
|
|
4 |
|
|
|
5 |
/**
|
|
|
6 |
* @method static \Illuminate\Redis\Connections\Connection connection(string|null $name = null)
|
|
|
7 |
* @method static \Illuminate\Redis\Connections\Connection resolve(string|null $name = null)
|
|
|
8 |
* @method static array connections()
|
|
|
9 |
* @method static void enableEvents()
|
|
|
10 |
* @method static void disableEvents()
|
|
|
11 |
* @method static void setDriver(string $driver)
|
|
|
12 |
* @method static void purge(string|null $name = null)
|
|
|
13 |
* @method static \Illuminate\Redis\RedisManager extend(string $driver, \Closure $callback)
|
|
|
14 |
* @method static void createSubscription(array|string $channels, \Closure $callback, string $method = 'subscribe')
|
|
|
15 |
* @method static \Illuminate\Redis\Limiters\ConcurrencyLimiterBuilder funnel(string $name)
|
|
|
16 |
* @method static \Illuminate\Redis\Limiters\DurationLimiterBuilder throttle(string $name)
|
|
|
17 |
* @method static mixed client()
|
|
|
18 |
* @method static void subscribe(array|string $channels, \Closure $callback)
|
|
|
19 |
* @method static void psubscribe(array|string $channels, \Closure $callback)
|
|
|
20 |
* @method static mixed command(string $method, array $parameters = [])
|
|
|
21 |
* @method static void listen(\Closure $callback)
|
|
|
22 |
* @method static string|null getName()
|
|
|
23 |
* @method static \Illuminate\Redis\Connections\Connection setName(string $name)
|
|
|
24 |
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
|
|
|
25 |
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
|
|
|
26 |
* @method static void unsetEventDispatcher()
|
|
|
27 |
* @method static void macro(string $name, object|callable $macro)
|
|
|
28 |
* @method static void mixin(object $mixin, bool $replace = true)
|
|
|
29 |
* @method static bool hasMacro(string $name)
|
|
|
30 |
* @method static void flushMacros()
|
|
|
31 |
* @method static mixed macroCall(string $method, array $parameters)
|
|
|
32 |
*
|
|
|
33 |
* @see \Illuminate\Redis\RedisManager
|
|
|
34 |
*/
|
|
|
35 |
class Redis extends Facade
|
|
|
36 |
{
|
|
|
37 |
/**
|
|
|
38 |
* Get the registered name of the component.
|
|
|
39 |
*
|
|
|
40 |
* @return string
|
|
|
41 |
*/
|
|
|
42 |
protected static function getFacadeAccessor()
|
|
|
43 |
{
|
|
|
44 |
return 'redis';
|
|
|
45 |
}
|
|
|
46 |
}
|