| 1234567891011121314151617181920212223 |
- <?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();
|