1 system.queue.inc public MemoryQueue::__construct($name)

Start working with a queue.

Parameters

$name: Arbitrary string. The name of the queue to work with.

File

core/modules/system/system.queue.inc, line 315
Queue functionality.

Class

MemoryQueue
Static queue implementation.

Code

public function __construct($name) {
  $this->queue = array();
  $this->id_sequence = 0;
}