2016-09-15 23:19:40 -05:00
|
|
|
<?php
|
2016-12-23 00:02:45 -06:00
|
|
|
|
2017-09-09 15:32:11 -05:00
|
|
|
use Illuminate\Foundation\Inspiring;
|
2016-09-15 23:19:40 -05:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
*/
|
2017-09-09 15:32:11 -05:00
|
|
|
|
|
|
|
Artisan::command('inspire', function () {
|
|
|
|
$this->comment(Inspiring::quote());
|
|
|
|
})->describe('Display an inspiring quote');
|