<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Shell; use Illuminate\Console\Application; use Illuminate\Events\Dispatcher; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class ShellApplication extends Application { public function __construct($SeTC_ = 'Console Application', $PR_WB = '1.0.0') { goto VUEZs; sgSn9: $this->setCatchExceptions(true); goto Rk2pM; pNVXH: $this->setName($SeTC_); goto b7c0C; VUEZs: parent::__construct($huiY5 = new \Illuminate\Foundation\Application(), new Dispatcher($huiY5), $PR_WB); goto pNVXH; b7c0C: $this->setAutoExit(true); goto sgSn9; Rk2pM: } public function command($h2sFd, \Closure $Ikxtb, $Ap9QJ = null) { return $this->add((new ClosureCommand($h2sFd, $Ikxtb))->describe($Ap9QJ)); } public function runAsSingle(InputInterface $fAvwi = null, OutputInterface $Y3VCG = null) { foreach ($this->all() as $umOI_) { $this->setDefaultCommand($umOI_, true); break; } return $this->run($fAvwi, $Y3VCG); } }