You are here

public function Redis_Queue_Base::__construct in Redis 7.2

Same name and namespace in other branches
  1. 7.3 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

unknown $name:

Overrides Redis_AbstractBackend::__construct

File

lib/Redis/Queue/Base.php, line 101

Class

Redis_Queue_Base
Redis allows implementing reliable queues, here is the spec:

Code

public function __construct($name) {
  $this->name = $name;
}