選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

18 行
346B

  1. <?php
  2. require __DIR__ . '/vendor/autoload.php';
  3. $app = \Framework\App::getInstance();
  4. $app->bind('paths.base', fn() => __DIR__);
  5. $app->prepare();
  6. $console = new \Symfony\Component\Console\Application();
  7. $commands = require __DIR__ . '/app/commands.php';
  8. foreach ($commands as $command) {
  9. $console->add(new $command);
  10. }
  11. $console->run();

Powered by TurnKey Linux.