ldc-boutique-cnc/routes/console.php

20 lines
624 B
PHP
Raw Permalink Normal View History

2020-10-30 17:26:00 +01:00
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
/*
2022-08-25 12:26:43 +02: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.
|
2020-10-30 17:26:00 +01:00
*/
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');