DatabaseQueue::__construct($name, Connection $connection)
Constructs a \Drupal\Core\Queue\DatabaseQueue object.
string $name: The name of the queue.
\Drupal\Core\Database\Connection $connection: The Connection object containing the key-value tables.
function __construct($name, Connection $connection) { $this->name = $name; $this->connection = $connection; }
© 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!DatabaseQueue.php/function/DatabaseQueue::__construct/8.1.x