Blame view

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