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 15
void
listen(Closure $callback)
Register a Redis command listener with the connection.
at line 21
void
listenForFailures(Closure $callback)
Register a Redis command failure listener with the connection.
at line 27
void
subscribe(array|string $channels, Closure $callback)
Subscribe to a set of given channels for messages.
at line 32
void
psubscribe(array|string $channels, Closure $callback)
Subscribe to a set of given channels with wildcards.
at line 37
mixed
command(string $method, array $parameters = [])
Run a command against the Redis database.