phpvms/app/Console/Kernel.php

49 lines
1.1 KiB
PHP
Raw Normal View History

2017-06-09 02:28:26 +08:00
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
2017-12-30 00:23:42 +08:00
Commands\AcarsReplay::class,
2017-07-14 02:45:59 +08:00
Commands\CreateDatabase::class,
2017-12-30 00:23:42 +08:00
Commands\DevCommands::class,
Commands\YamlImport::class,
Commands\ImportFromClassic::class,
2017-12-17 12:19:17 +08:00
Commands\Install::class,
Commands\NavdataImport::class,
2017-12-31 01:56:38 +08:00
Commands\TestApi::class,
2017-06-09 02:28:26 +08:00
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();
}
/**
* Register the Closure based commands for the application.
*
* @return void
*/
protected function commands()
{
require app_path('Routes/console.php');
2017-12-03 00:26:25 +08:00
$this->load(__DIR__ . '/Commands');
2017-06-09 02:28:26 +08:00
}
}