<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Command; use Illuminate\Console\Command; use ModStart\Core\Input\Response; use ModStart\Module\ModuleManager; class ModuleInstallAllCommand extends Command { protected $signature = 'modstart:module-install-all'; public function handle() { goto R56bP; kFn2F: $this->warn('ModuleInstallAll run finished'); goto dIltY; R56bP: $this->info('ModuleInstallAll
'); goto f0Fmi; f0Fmi: foreach (ModuleManager::listAllInstalledModulesInRequiredOrder() as $l2LYK) { goto MzKe1; MzKe1: if (!ModuleManager::isExists($l2LYK)) { continue; } goto Hl_5S; Bhpex: if (Response::isSuccess($uotzZ)) { $this->info($uotzZ['data']['output']); } else { $this->error($uotzZ['msg']); } goto hKf8I; hKf8I: $this->info(''); goto wC5yf; EZGtv: $this->warn(">>> Module {$l2LYK}"); goto Bhpex; Hl_5S: $uotzZ = ModuleManager::install($l2LYK); goto EZGtv; wC5yf: } goto kFn2F; dIltY: } }