ldc-nature-and-respect/routes/console.php

20 lines
624 B
PHP
Raw Normal View History

2022-11-18 12:39:03 +01:00
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
/*
2023-04-18 10:49:39 +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.
|
2022-11-18 12:39:03 +01:00
*/
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');