public function Tools::__construct in MongoDB 8.2
MongoDbCommands constructor.
Parameters
\Drupal\mongodb\DatabaseFactory $databaseFactory: The mongobb.database_factory service.
\Drupal\Core\Site\Settings $settings: The settings service.
\Drupal\Component\Serialization\SerializationInterface $yaml: The serialization.yaml service.
File
- modules/
mongodb/ src/ Install/ Tools.php, line 49
Class
- Tools
- Class MongoDbCommands provides the Drush commands for the mongodb module.
Namespace
Drupal\mongodb\InstallCode
public function __construct(DatabaseFactory $databaseFactory, Settings $settings, SerializationInterface $yaml) {
$this->dbFactory = $databaseFactory;
$this->settings = $settings;
$this->yaml = $yaml;
}