2015-07-08 03:34:58 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Console;
|
|
|
|
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
|
|
|
|
|
|
class Kernel extends ConsoleKernel
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Define the application's command schedule.
|
|
|
|
*
|
|
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
|
|
{
|
2020-04-23 22:17:13 -04:00
|
|
|
// $schedule->command('inspire')->hourly();
|
2015-07-08 03:34:58 -04:00
|
|
|
}
|
2016-08-19 16:38:49 -04:00
|
|
|
|
|
|
|
/**
|
2017-09-26 13:22:15 -04:00
|
|
|
* Register the commands for the application.
|
2016-08-19 16:38:49 -04:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
protected function commands()
|
|
|
|
{
|
2017-09-26 13:22:15 -04:00
|
|
|
$this->load(__DIR__.'/Commands');
|
|
|
|
|
2016-08-19 16:38:49 -04:00
|
|
|
require base_path('routes/console.php');
|
|
|
|
}
|
2015-07-08 03:34:58 -04:00
|
|
|
}
|