<?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($BjHij = 'Console Application', $pcthO = '1.0.0') { goto Cvjeu; gwbmy: $this->setName($BjHij); goto f1hQP; EY5CM: $this->setCatchExceptions(true); goto xwdW9; f1hQP: $this->setAutoExit(true); goto EY5CM; Cvjeu: parent::__construct($JCea8 = new \Illuminate\Foundation\Application(), new Dispatcher($JCea8), $pcthO); goto gwbmy; xwdW9: } public function command($xaoF3, \Closure $k8RFa, $NA5n0 = null) { return $this->add((new ClosureCommand($xaoF3, $k8RFa))->describe($NA5n0)); } public function runAsSingle(InputInterface $Ylazq = null, OutputInterface $LqrPH = null) { foreach ($this->all() as $fWYdy) { $this->setDefaultCommand($fWYdy, true); break; } return $this->run($Ylazq, $LqrPH); } }