interface
Illuminate
/
Contracts
/
Redis
/
Connection
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
Connection
Methods
public
subscribe ( $channels , Closure $callback ) : void
Subscribe to a set of given channels for messages.
Parameters
- $channels array|string
- $callback Closure
public
psubscribe ( $channels , Closure $callback ) : void
Subscribe to a set of given channels with wildcards.
Parameters
- $channels array|string
- $callback Closure
public
command ( $method , array $parameters ) : mixed
Run a command against the Redis database.
Parameters
- $method string
- $parameters array