laravel-api-simple-blog/routes/console.php

9 lines
220 B
PHP
Raw Normal View History

2024-10-15 19:30:20 +03:00
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote')->hourly();