hypothetical/routes/console.php

9 lines
219 B
PHP
Raw Normal View History

2016-08-19 16:38:49 -04:00
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
2016-08-19 16:38:49 -04:00
Artisan::command('inspire', function() {
2016-08-19 16:38:49 -04:00
$this->comment(Inspiring::quote());
2024-03-19 17:11:58 -04:00
})->purpose('Display an inspiring quote')->hourly();