W3cubDocs

/Laravel 8

RedisConnector

class RedisConnector implements ConnectorInterface (View source)

Properties

protected Factory $redis The Redis database instance.
protected string $connection The connection name.

Methods

void __construct(Factory $redis, string|null $connection = null)

Create a new Redis queue connector instance.

Queue connect(array $config)

Establish a queue connection.

Details

void __construct(Factory $redis, string|null $connection = null)

Create a new Redis queue connector instance.

Parameters

Factory $redis
string|null $connection

Return Value

void

Queue connect(array $config)

Establish a queue connection.

Parameters

array $config

Return Value

Queue

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Queue/Connectors/RedisConnector.html