Inspire.php 511 B

1234567891011121314151617181920212223242526272829303132
  1. <?php namespace App\Console\Commands;
  2. use Illuminate\Console\Command;
  3. use Illuminate\Foundation\Inspiring;
  4. class Inspire extends Command {
  5. /**
  6. * The console command name.
  7. *
  8. * @var string
  9. */
  10. protected $name = 'inspire';
  11. /**
  12. * The console command description.
  13. *
  14. * @var string
  15. */
  16. protected $description = 'Display an inspiring quote';
  17. /**
  18. * Execute the console command.
  19. *
  20. * @return mixed
  21. */
  22. public function handle()
  23. {
  24. $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
  25. }
  26. }