Blame view

routes/console.php 592 Bytes
2dde15d57   Андрей Ларионов   Утверждение переноса
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());
  })->purpose('Display an inspiring quote');