<?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($URLpY, \Closure $GdSl0) { goto Rf86x; Rf86x: $this->callback = $GdSl0; goto pj2_2; pj2_2: $this->signature = $URLpY; goto UrA1o; UrA1o: parent::__construct(); goto umpW0; umpW0: } protected function execute(InputInterface $WZ8dY, OutputInterface $LHbsa) { goto DMrFY; BVUzD: $aTW4d = array(); goto v8lVY; coYAc: return $this->laravel->call($this->callback->bindTo($this, $this), $aTW4d); goto bLlMp; v8lVY: foreach ((new \ReflectionFunction($this->callback))->getParameters() as $m1iXd) { if (isset($XLbWj[$m1iXd->name])) { $aTW4d[$m1iXd->name] = $XLbWj[$m1iXd->name]; } } goto coYAc; DMrFY: $XLbWj = array_merge($WZ8dY->getArguments(), $WZ8dY->getOptions()); goto BVUzD; bLlMp: } public function describe($rRCwS) { $this->setDescription($rRCwS); return $this; } }