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.

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