class Illuminate / Queue / Connectors / RedisConnector

RedisConnector

Implements

Properties

protected

$redis Factory

The Redis database instance.

Default: null
protected

$connection string

The connection name.

Default: null

Methods

public

__construct ( Factory $redis , $connection ) : void

Create a new Redis queue connector instance.

Parameters

  • $redis Factory
  • $connection string|null
public

connect ( array $config ) : Queue

Establish a queue connection.

Parameters

  • $config array