<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Command; use Illuminate\Console\Command; use Illuminate\Support\Facades\Artisan; use ModStart\Core\Util\FileUtil; class ModuleRefreshAllCommand extends Command { protected $signature = 'modstart:module-refresh-all'; public function handle() { goto cGEJZ; Ha_v2: $T1Cn1 = trim(Artisan::output()); goto ch7dG; RHX1e: $this->info('>>> Reinstall Modules'); goto p6298; aYWKX: $this->info('>>> Finished
'); goto mJ9wp; IbWKc: $this->info('>>> Publish Asset'); goto ANzqr; kb7me: $this->info('>>> Finished
'); goto RHX1e; jLnEu: FileUtil::rm(public_path('asset')); goto QwoI2; k3Lfj: $this->info('ExitCode -> ' . $JsjsY); goto BppBz; p6298: $JsjsY = Artisan::call('modstart:module-install-all'); goto AKqlr; VAOMU: $this->info('>>> CleanOldAsset'); goto jLnEu; AKqlr: $T1Cn1 = trim(Artisan::output()); goto k3Lfj; ANzqr: $JsjsY = Artisan::call('vendor:publish', array('--provider' => 'ModStart\\ModStartServiceProvider')); goto Ha_v2; BppBz: $this->info($T1Cn1); goto aYWKX; mJ9wp: $this->warn('ModuleRefreshAll Finished'); goto QiwgE; Iqtx_: $this->info($T1Cn1); goto kb7me; QwoI2: $this->info('>>> Finished
'); goto IbWKc; cGEJZ: $this->info('ModuleRefreshAll Start'); goto VAOMU; ch7dG: $this->info('ExitCode -> ' . $JsjsY); goto Iqtx_; QiwgE: } }