<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Shell; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class ClosureCommand extends Command { protected $callback; public function __construct($h2sFd, \Closure $Ikxtb) { goto vHMHN; AMebA: $this->signature = $h2sFd; goto G1FbS; vHMHN: $this->callback = $Ikxtb; goto AMebA; G1FbS: parent::__construct(); goto zDArS; zDArS: } protected function execute(InputInterface $fAvwi, OutputInterface $Y3VCG) { goto K4x8t; CyMZr: foreach ((new \ReflectionFunction($this->callback))->getParameters() as $c_wi_) { if (isset($Ee5p5[$c_wi_->name])) { $C4Az3[$c_wi_->name] = $Ee5p5[$c_wi_->name]; } } goto RXpu1; K4x8t: $Ee5p5 = array_merge($fAvwi->getArguments(), $fAvwi->getOptions()); goto iZ0q2; iZ0q2: $C4Az3 = array(); goto CyMZr; RXpu1: return $this->laravel->call($this->callback->bindTo($this, $this), $C4Az3); goto WiHJB; WiHJB: } public function describe($Ap9QJ) { $this->setDescription($Ap9QJ); return $this; } }