Method |
Description |
|
command ( string $method, array $parameters = [] ) : mixed |
Run a command against the Redis database. |
|
connection ( string $name = 'default' ) : Predis\ClientInterface | null |
Get a specific Redis connection instance. |
|
psubscribe ( array | string $channels, Closure $callback, string $connection = null ) : void |
Subscribe to a set of given channels with wildcards. |
|
subscribe ( array | string $channels, Closure $callback, string $connection = null, string $method = 'subscribe' ) : void |
Subscribe to a set of given channels for messages. |
|