Kernel.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /*
  3. * This file is part of the Jiannei/lumen-api-starter.
  4. *
  5. * (c) Jiannei <longjian.huang@foxmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace App\Console;
  11. use App\Console\Commands\Base\InitSettingCommand;
  12. use App\Console\Commands\Base\RemoveModuleCommand;
  13. use App\Console\Commands\Base\RemoveModuleControllerCommand;
  14. use App\Console\Commands\InitDataCommand;
  15. use App\Console\Commands\InitPermissionCommand;
  16. use App\Console\Commands\TestCommand;
  17. use Illuminate\Console\Scheduling\Schedule;
  18. use Laravel\Lumen\Console\Kernel as ConsoleKernel;
  19. class Kernel extends ConsoleKernel
  20. {
  21. /**
  22. * The Artisan commands provided by your application.
  23. *
  24. * @var array
  25. */
  26. protected $commands = [
  27. RemoveModuleCommand::class,
  28. RemoveModuleControllerCommand::class,
  29. InitSettingCommand::class,
  30. TestCommand::class,
  31. InitPermissionCommand::class,
  32. InitDataCommand::class,
  33. ];
  34. /**
  35. * Define the application's command schedule.
  36. *
  37. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  38. */
  39. protected function schedule(Schedule $schedule)
  40. {
  41. }
  42. }