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.

44 lines
897 B

4 years ago
  1. <?php
  2. namespace App\Commands;
  3. use Illuminate\Console\Scheduling\Schedule;
  4. use LaravelZero\Framework\Commands\Command;
  5. class InspiringCommand extends Command
  6. {
  7. /**
  8. * The signature of the command.
  9. *
  10. * @var string
  11. */
  12. protected $signature = 'inspiring {name=Artisan}';
  13. /**
  14. * The description of the command.
  15. *
  16. * @var string
  17. */
  18. protected $description = 'Display an inspiring quote';
  19. /**
  20. * Execute the console command.
  21. *
  22. * @return mixed
  23. */
  24. public function handle()
  25. {
  26. $this->info('Simplicity is the ultimate sophistication.');
  27. }
  28. /**
  29. * Define the command's schedule.
  30. *
  31. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  32. * @return void
  33. */
  34. public function schedule(Schedule $schedule)
  35. {
  36. // $schedule->command(static::class)->everyMinute();
  37. }
  38. }