public function ReliablePredis::__construct in Redis 8
Constructs a \Drupal\redis\Queue\Predis object.
Parameters
string $name: The name of the queue.
array $settings: Array of Redis-related settings for this queue.
\Predis\Client $client: The Predis client.
Overrides QueueBase::__construct
File
- src/
Queue/ ReliablePredis.php, line 29
Class
- ReliablePredis
- Redis queue implementation using Predis library backend.
Namespace
Drupal\redis\QueueCode
public function __construct($name, array $settings, \Predis\Client $client) {
parent::__construct($name, $settings);
$this->client = $client;
}