You are here

public function SanityCheckCommand::__construct in MongoDB 8.2

SanityCheckCommand constructor.

Parameters

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

\Drupal\Component\Serialization\Yaml $yaml: The serialization.yaml service.

File

modules/mongodb_watchdog/src/Command/SanityCheckCommand.php, line 47

Class

SanityCheckCommand
Class SanityCheckCommand provides the mongodb:watchdog:sanitycheck command.

Namespace

Drupal\mongodb_watchdog\Command

Code

public function __construct(Sanitycheck $sanityCheck, Yaml $yaml) {
  parent::__construct();
  $this->sanityCheck = $sanityCheck;
  $this->yaml = $yaml;
}