You are here

protected function UpdateCommand::execute in Lightning Core 8

Same name and namespace in other branches
  1. 8.5 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::execute()
  2. 8.2 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::execute()
  3. 8.3 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::execute()
  4. 8.4 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::execute()

File

src/Command/UpdateCommand.php, line 34

Class

UpdateCommand

Namespace

Drupal\lightning_core\Command

Code

protected function execute(InputInterface $input, OutputInterface $output) {
  $io = new DrupalStyle($input, $output);
  $this->updateManager
    ->executeAllInConsole($io);
}