console.php 513 B

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