You are here

public function QueueRedisFactory::__construct in Redis 8

Constructs this factory object.

Parameters

\Drupal\Core\Database\Connection $connection: The Connection object containing the key-value tables.

File

src/Queue/QueueRedisFactory.php, line 36

Class

QueueRedisFactory
Defines the queue factory for the Redis backend.

Namespace

Drupal\redis\Queue

Code

public function __construct(ClientFactory $client_factory, Settings $settings) {
  $this->clientFactory = $client_factory;
  $this->settings = $settings;
}