2019-07-30 17:18:44 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Console;
|
|
|
|
|
2019-08-10 14:34:53 +00:00
|
|
|
use App\Console\Commands\SyncDomain;
|
2019-07-30 17:18:44 +00:00
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
|
|
use Laravel\Lumen\Console\Kernel as ConsoleKernel;
|
|
|
|
|
|
|
|
class Kernel extends ConsoleKernel
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The Artisan commands provided by your application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $commands = [
|
2019-08-10 14:34:53 +00:00
|
|
|
SyncDomain::class
|
2019-07-30 17:18:44 +00:00
|
|
|
//
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Define the application's command schedule.
|
|
|
|
*
|
|
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|