Connection
interface Connection (View source)
Methods
void | subscribe(array|string $channels, Closure $callback) Subscribe to a set of given channels for messages. | |
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
void subscribe(array|string $channels, Closure $callback)
Subscribe to a set of given channels for messages.
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Contracts/Redis/Connection.html