You are here

function QueueMongodbFactory::__construct in MongoDB 8

Constructs this factory object.

Parameters

\Drupal\mongodb\MongoCollectionFactory $mongo: Mongo collection factory.

File

src/QueueMongodbFactory.php, line 28
Contains \Drupal\mongodb\QueueMongodbFactory.

Class

QueueMongodbFactory
Defines the queue factory for the MongoDB backend.

Namespace

Drupal\mongodb

Code

function __construct(MongoCollectionFactory $mongo) {
  $this->mongo = $mongo;
}