You are here

public function Memory::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::__construct()

Constructs a Memory object.

Parameters

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

File

core/lib/Drupal/Core/Queue/Memory.php, line 40
Contains \Drupal\Core\Queue\Memory.

Class

Memory
Static queue implementation.

Namespace

Drupal\Core\Queue

Code

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