You are here

public function MongoDbWatchdogCommands::__construct in MongoDB 8.2

MongodbWatchdogCommands constructor.

Parameters

\Drupal\mongodb_watchdog\Install\SanityCheck $sanityCheck: The mongodb.watchdog.sanity_check service.

File

modules/mongodb_watchdog/src/Commands/MongoDbWatchdogCommands.php, line 28

Class

MongoDbWatchdogCommands
Drush 9 commands service for the mongodb_watchdog module.

Namespace

Drupal\mongodb_watchdog\Commands

Code

public function __construct(SanityCheck $sanityCheck) {
  $this->sanityCheck = $sanityCheck;
}