public function Memory::__construct

Constructs a Memory object.

Parameters

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

File

drupal/core/lib/Drupal/Core/Queue/Memory.php, line 40
Definition of Drupal\Core\Queue\Memory.

Class

Memory
Static queue implementation.

Namespace

Drupal\Core\Queue

Code

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