You are here

protected function SanityCheckCommand::configure in MongoDB 8.2

File

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

Class

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

Namespace

Drupal\mongodb_watchdog\Command

Code

protected function configure() : void {
  $this
    ->setName('mongodb:watchdog:sanitycheck')
    ->setDescription($this
    ->trans('commands.mongodb.watchdog.sanitycheck.description'))
    ->setHelp($this
    ->trans('commands.mongodb.watchdog.sanitycheck.help'))
    ->setAliases([
    'mdbwsc',
    'mowd-sc',
  ]);
}