コード例 #1
0
 /**
  * @param InputInterface $input
  * @param OutputInterface $output
  * @return bool
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     parent::_execute($input, $output);
     $scanner = new ModuleScanner();
     $limit = (int) $input->getArgument("limit");
     $scanner->updateAllModules($limit);
     $this->log("Done");
 }
コード例 #2
0
ファイル: Application.php プロジェクト: adamjakab/D8ModScan
 public function run()
 {
     $scanner = new ModuleScanner();
     $modules = $scanner->getModules();
     $template = $this->twig->loadTemplate("modules.twig");
     $output = $template->render(["modules" => $modules]);
     print $output;
 }