public function SettingsCommand::__construct in MongoDB 8.2
SettingsCommand constructor.
Parameters
\Drupal\mongodb\Install\Tools $tools: The mongodb.tools service.
\Drupal\Component\Serialization\SerializationInterface $yaml: The serialization.yaml service.
File
- modules/
mongodb/ src/ Command/ SettingsCommand.php, line 49
Class
- SettingsCommand
- Class SettingsCommand provides the 'commands.mongodb.settings' command.
Namespace
Drupal\mongodb\CommandCode
public function __construct(Tools $tools, SerializationInterface $yaml) {
parent::__construct();
$this->serialization = $yaml;
$this->tools = $tools;
}