Connection
interface Connection
Methods
void
void
void
psubscribe(array|string $channels, Closure $callback)
Subscribe to a set of given channels with wildcards.
mixed
command(string $method, array $parameters = [])
Run a command against the Redis database.
Details
at line 14
void
listen(Closure $callback)
Register a Redis command listener with the connection.
at line 19
void
listenForFailures(Closure $callback)
Register a Redis command failure listener with the connection.
at line 24
void
subscribe(array|string $channels, Closure $callback)
Subscribe to a set of given channels for messages.
at line 29
void
psubscribe(array|string $channels, Closure $callback)
Subscribe to a set of given channels with wildcards.
at line 34
mixed
command(string $method, array $parameters = [])
Run a command against the Redis database.