<?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($LRJkc, \Closure $jlZvo) { goto yzOCc; suUSx: parent::__construct(); goto ZTw0q; l_Lma: $this->signature = $LRJkc; goto suUSx; yzOCc: $this->callback = $jlZvo; goto l_Lma; ZTw0q: } protected function execute(InputInterface $tBuXm, OutputInterface $Q7EdD) { goto Zg4xw; PIEX9: foreach ((new \ReflectionFunction($this->callback))->getParameters() as $c54Ma) { if (isset($XZTk1[$c54Ma->name])) { $nRzA2[$c54Ma->name] = $XZTk1[$c54Ma->name]; } } goto xGhPk; Zg4xw: $XZTk1 = array_merge($tBuXm->getArguments(), $tBuXm->getOptions()); goto gRd1a; xGhPk: return $this->laravel->call($this->callback->bindTo($this, $this), $nRzA2); goto WDuHR; gRd1a: $nRzA2 = array(); goto PIEX9; WDuHR: } public function describe($VS3hU) { $this->setDescription($VS3hU); return $this; } }