You are here

protected function CacheRebuild::configure in Automatic Updates 8

Overrides BaseCommand::configure

File

src/Command/CacheRebuild.php, line 16

Class

CacheRebuild
Cache rebuild command.

Namespace

Drupal\automatic_updates\Command

Code

protected function configure() {
  parent::configure();
  $this
    ->setName('cache:rebuild')
    ->setAliases([
    'cr, rebuild',
  ])
    ->setDescription('Rebuild a Drupal site and clear all its caches.');
}