Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12345678910111213141516171819
  1. <?php
  2. use Illuminate\Foundation\Inspiring;
  3. use Illuminate\Support\Facades\Artisan;
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Console Routes
  7. |--------------------------------------------------------------------------
  8. |
  9. | This file is where you may define all of your Closure based console
  10. | commands. Each Closure is bound to a command instance allowing a
  11. | simple approach to interacting with each command's IO methods.
  12. |
  13. */
  14. Artisan::command('inspire', function () {
  15. $this->comment(Inspiring::quote());
  16. })->describe('Display an inspiring quote');