コード例 #1
0
ファイル: UpdateCommand.php プロジェクト: rawphp/slicer
 /**
  * Execute command.
  *
  * @param InputInterface  $input
  * @param OutputInterface $output
  *
  * @return int|null|void
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     /** @var Application $app */
     $app = $this->getApplication();
     $this->updateManager = $app->getSlicer()->getUpdateManager();
     $this->updateManager->update(NULL);
 }