2015-06-01 15:43:37 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Console;
|
2014-10-20 11:14:41 -05:00
|
|
|
|
2014-11-18 22:48:38 -06:00
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
2014-10-20 11:14:41 -05:00
|
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
class Kernel extends ConsoleKernel
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Define the application's command schedule.
|
|
|
|
|
*/
|
2023-01-03 09:35:24 +00:00
|
|
|
protected function schedule(Schedule $schedule): void
|
2015-02-22 20:47:03 -06:00
|
|
|
{
|
2019-12-20 14:14:01 -06:00
|
|
|
// $schedule->command('inspire')->hourly();
|
2015-02-22 20:47:03 -06:00
|
|
|
}
|
2016-05-09 11:16:31 -05:00
|
|
|
|
|
|
|
|
/**
|
2017-07-17 09:12:08 -05:00
|
|
|
* Register the commands for the application.
|
2016-05-09 11:16:31 -05:00
|
|
|
*/
|
2023-01-03 09:35:24 +00:00
|
|
|
protected function commands(): void
|
2016-05-09 11:16:31 -05:00
|
|
|
{
|
2017-07-17 09:11:10 -05:00
|
|
|
$this->load(__DIR__.'/Commands');
|
|
|
|
|
|
2016-08-16 19:44:28 -05:00
|
|
|
require base_path('routes/console.php');
|
2016-05-09 11:16:31 -05:00
|
|
|
}
|
2014-10-20 11:14:41 -05:00
|
|
|
}
|