<?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($y1U3u, \Closure $TIlpS) { goto zozHJ; vvpDa: parent::__construct(); goto x2G7i; VhiyO: $this->signature = $y1U3u; goto vvpDa; zozHJ: $this->callback = $TIlpS; goto VhiyO; x2G7i: } protected function execute(InputInterface $i3uTh, OutputInterface $Mrc1Z) { goto cJ81D; SFHZm: foreach ((new \ReflectionFunction($this->callback))->getParameters() as $k8TQh) { if (isset($hZYjM[$k8TQh->name])) { $M9m3b[$k8TQh->name] = $hZYjM[$k8TQh->name]; } } goto uNeZH; cJ81D: $hZYjM = array_merge($i3uTh->getArguments(), $i3uTh->getOptions()); goto ebDwh; ebDwh: $M9m3b = array(); goto SFHZm; uNeZH: return $this->laravel->call($this->callback->bindTo($this, $this), $M9m3b); goto PFUU0; PFUU0: } public function describe($cbxGC) { $this->setDescription($cbxGC); return $this; } }