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.

Inspire.php 511B

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. }