<?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($aVT3z = 'Console Application', $NyYcf = '1.0.0') { goto lSMt3; lSMt3: parent::__construct($jRpQV = new \Illuminate\Foundation\Application(), new Dispatcher($jRpQV), $NyYcf); goto dU11Z; dU11Z: $this->setName($aVT3z); goto z90g3; z90g3: $this->setAutoExit(true); goto wmza6; wmza6: $this->setCatchExceptions(true); goto l08UH; l08UH: } public function command($LRJkc, \Closure $jlZvo, $VS3hU = null) { return $this->add((new ClosureCommand($LRJkc, $jlZvo))->describe($VS3hU)); } public function runAsSingle(InputInterface $tBuXm = null, OutputInterface $Q7EdD = null) { foreach ($this->all() as $Wfnzb) { $this->setDefaultCommand($Wfnzb, true); break; } return $this->run($tBuXm, $Q7EdD); } }