photo/routes/console.php

9 lines
220 B
PHP
Raw Permalink Normal View History

2019-11-08 12:08:34 +00:00
<?php
use Illuminate\Foundation\Inspiring;
2024-08-25 08:26:29 +00:00
use Illuminate\Support\Facades\Artisan;
2019-11-08 12:08:34 +00:00
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
2024-08-25 08:26:29 +00:00
})->purpose('Display an inspiring quote')->hourly();