protected function BaseCommand::configure in Automatic Updates 8
3 calls to BaseCommand::configure()
- CacheRebuild::configure in src/
Command/ CacheRebuild.php - Configures the current command.
- DatabaseUpdate::configure in src/
Command/ DatabaseUpdate.php - Configures the current command.
- DatabaseUpdateStatus::configure in src/
Command/ DatabaseUpdateStatus.php - Configures the current command.
3 methods override BaseCommand::configure()
- CacheRebuild::configure in src/
Command/ CacheRebuild.php - Configures the current command.
- DatabaseUpdate::configure in src/
Command/ DatabaseUpdate.php - Configures the current command.
- DatabaseUpdateStatus::configure in src/
Command/ DatabaseUpdateStatus.php - Configures the current command.
File
- src/
Command/ BaseCommand.php, line 38
Class
- BaseCommand
- Base command class.
Namespace
Drupal\automatic_updates\CommandCode
protected function configure() {
parent::configure();
$this
->addOption('script-filename', NULL, InputOption::VALUE_REQUIRED, 'The script filename')
->addOption('base-url', NULL, InputOption::VALUE_REQUIRED, 'The base URL, i.e. http://example.com/index.php')
->addOption('base-path', NULL, InputOption::VALUE_REQUIRED, 'The base path, i.e. http://example.com');
}