You are here

public function QueryFactory::__construct in MongoDB 8

File

src/Entity/QueryFactory.php, line 17
Contains Drupal\mongodb\Entity\ContentEntityStorage.

Class

QueryFactory

Namespace

Drupal\mongodb\Entity

Code

public function __construct(MongoCollectionFactory $mongo) {
  $this->mongo = $mongo;
  $this->namespaces = QueryBase::getNamespaces($this);
}