public function Memory::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::__construct()
- 10 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 35
Class
- Memory
- Static queue implementation.
Namespace
Drupal\Core\QueueCode
public function __construct($name) {
$this->queue = [];
$this->idSequence = 0;
}