2023-03-17 14:33:48 +00:00
|
|
|
<?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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2023-05-19 17:01:56 +00:00
|
|
|
Artisan::command('inspire', function () {
|
2023-05-25 16:27:52 +00:00
|
|
|
$this->comment(Inspiring::quote());
|
2023-05-19 17:01:56 +00:00
|
|
|
})->purpose('Display an inspiring quote');
|