public function Redis_Queue_Base::__construct in Redis 7.3
Same name and namespace in other branches
- 7.2 lib/Redis/Queue/Base.php \Redis_Queue_Base::__construct()
Default contructor
Beware that DrupalQueueInterface does not defines the __construct method in the interface yet is being used from DrupalQueue::get()
Parameters
mixed $client:
string $name:
Overrides Redis_AbstractBackend::__construct
File
- lib/
Redis/ Queue/ Base.php, line 95
Class
- Redis_Queue_Base
- Redis allows implementing reliable queues, here is the spec:
Code
public function __construct($client, $name) {
parent::__construct($client, self::QUEUE_KEY_PREFIX . $name);
}