You are here

public function BatchQueueMongodb::__construct in MongoDB 8

Construct this object.

Parameters

string $name: Name of the queue.

Overrides QueueMongodb::__construct

File

src/BatchQueueMongodb.php, line 37
QueueMongodb functionality.

Class

BatchQueueMongodb
MongoDB batch queue implementation.

Namespace

Drupal\mongodb

Code

public function __construct($name) {
  $this->collection = 'queue.' . $name;
}