photo/routes/console.php

9 lines
220 B
PHP
Raw Normal View History

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