initial: bootstrap from BukidBountyApp base
This commit is contained in:
23
routes/console.php
Normal file
23
routes/console.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Hypervel\Support\Facades\Artisan;
|
||||
use Hypervel\Support\Facades\Schedule;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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.
|
||||
|
|
||||
*/
|
||||
|
||||
Artisan::command('hello', function () {
|
||||
$this->comment('Hypervel is awesome!');
|
||||
})->purpose('This is a demo closure command.');
|
||||
|
||||
// Schedule::command('hello')->everyFiveSeconds();
|
||||
Reference in New Issue
Block a user