<?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 bnfvS; Bal48: $this->info('>>> Finished
'); goto sZ_8q; MOPuY: $this->info('>>> CleanOldAsset'); goto Wy0Dk; oPjS6: $bc6fE = trim(Artisan::output()); goto dWGd8; ucObL: $bc6fE = trim(Artisan::output()); goto lMZhU; y4y0C: $this->info($bc6fE); goto Bal48; joZVN: $this->info('>>> Publish Asset'); goto qtEVL; sZ_8q: $this->info('>>> Reinstall Modules'); goto zUvpH; lMZhU: $this->info('ExitCode -> ' . $O8Opn); goto y4y0C; zUvpH: $O8Opn = Artisan::call('modstart:module-install-all'); goto oPjS6; qtEVL: $O8Opn = Artisan::call('vendor:publish', array('--provider' => 'ModStart\\ModStartServiceProvider')); goto ucObL; Wy0Dk: FileUtil::rm(public_path('asset')); goto Y5Tpw; dWGd8: $this->info('ExitCode -> ' . $O8Opn); goto mWHPh; mWHPh: $this->info($bc6fE); goto Y5D4l; bnfvS: $this->info('ModuleRefreshAll Start'); goto MOPuY; Y5Tpw: $this->info('>>> Finished
'); goto joZVN; Y5D4l: $this->info('>>> Finished
'); goto ovi_9; ovi_9: $this->warn('ModuleRefreshAll Finished'); goto CALXk; CALXk: } }