暂无描述
您最多选择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');