You are here

function KeyvalueMongodbFactory::__construct in MongoDB 8

Parameters

MongoCollectionFactory $mongo:

\Drupal\Core\Site\Settings $settings:

string $prefix:

File

src/KeyvalueMongodbFactory.php, line 38
Definition of Drupal\mongodb\MongoKeyValueFactory.

Class

KeyvalueMongodbFactory

Namespace

Drupal\mongodb

Code

function __construct(MongoCollectionFactory $mongo, Settings $settings, $prefix) {
  $this->mongo = $mongo;
  $this->settings = $settings;
  $this->prefix = $prefix;
}