<?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 xD9zL; fykfK: $this->info('>>> CleanOldAsset'); goto KzrMI; x0rFL: $this->info($iMFvt); goto I7H4X; hH1Ck: $this->info('ExitCode -> ' . $Lhh0b); goto x0rFL; luYdR: $Lhh0b = Artisan::call('vendor:publish', array('--provider' => 'ModStart\\ModStartServiceProvider')); goto CnpBm; MJQXD: $Lhh0b = Artisan::call('modstart:module-install-all'); goto uXsJB; KzrMI: FileUtil::rm(public_path('asset')); goto WujUN; CnpBm: $iMFvt = trim(Artisan::output()); goto hH1Ck; YtKV9: $this->info('>>> Reinstall Modules'); goto MJQXD; I7H4X: $this->info('>>> Finished
'); goto YtKV9; xD9zL: $this->info('ModuleRefreshAll Start'); goto fykfK; CejQf: $this->info('>>> Finished
'); goto ppQ8z; MPldq: $this->info($iMFvt); goto CejQf; fEu25: $this->info('>>> Publish Asset'); goto luYdR; uXsJB: $iMFvt = trim(Artisan::output()); goto GWJ0H; ppQ8z: $this->warn('ModuleRefreshAll Finished'); goto N2uG5; GWJ0H: $this->info('ExitCode -> ' . $Lhh0b); goto MPldq; WujUN: $this->info('>>> Finished
'); goto fEu25; N2uG5: } }