public function 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\QueueCode
public function __construct($name) { $this->queue = array(); $this->idSequence = 0; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Queue!Memory.php/function/Memory::__construct/8.1.x