You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LogcheckerConsole.php 591 B

6 vuotta sitten
6 vuotta sitten
4 vuotta sitten
6 vuotta sitten
6 vuotta sitten
6 vuotta sitten
123456789101112131415161718192021222324
  1. <?php
  2. namespace OrpheusNET\Logchecker;
  3. use Symfony\Component\Console\Application;
  4. class LogcheckerConsole extends Application
  5. {
  6. public function __construct()
  7. {
  8. $composer_config = json_decode(file_get_contents(__DIR__ . '/../composer.json'), true);
  9. $version = $composer_config['version'];
  10. parent::__construct('Logchecker', $version);
  11. $analyze_command = new Command\AnalyzeCommand();
  12. $this->addCommands([
  13. $analyze_command,
  14. new Command\DecodeCommand(),
  15. new Command\TranslateCommand()
  16. ]);
  17. }
  18. }