Memory::__construct

public Memory::__construct($name)

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 35

Class

Memory
Static queue implementation.

Namespace

Drupal\Core\Queue

Code

public function __construct($name) {
  $this->queue = array();
  $this->idSequence = 0;
}
doc_Drupal
2016-10-29 09:25:42
Comments
Leave a Comment

Please login to continue.