49 lines
1.3 KiB
PHP
49 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace App\Console;
|
|
|
|
use App\Console\Commands\Modules\CreateNew;
|
|
use App\Console\Commands\Modules\DisableModule;
|
|
use App\Console\Commands\Modules\EnableModule;
|
|
use App\Console\Commands\Modules\ModuleMigrate;
|
|
use App\Console\Commands\PublishTemplateResources;
|
|
use App\Console\Commands\TemplateInfo;
|
|
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 = [
|
|
Commands\NewUser::class,
|
|
Commands\ChangePassword::class,
|
|
CreateNew::class,
|
|
ModuleMigrate::class,
|
|
EnableModule::class,
|
|
DisableModule::class,
|
|
Commands\Modules\InstallModule::class,
|
|
Commands\Modules\InstallAllModules::class,
|
|
Commands\TranslateDirectory::class,
|
|
Commands\TranslateAll::class,
|
|
Commands\InitDatabaseSchema::class,
|
|
Commands\SetTemplate::class,
|
|
Commands\AddLanguage::class,
|
|
PublishTemplateResources::class,
|
|
TemplateInfo::class
|
|
];
|
|
|
|
/**
|
|
* Define the application's command schedule.
|
|
*
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function schedule(Schedule $schedule)
|
|
{
|
|
}
|
|
}
|