<?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($C5nM9, \Closure $hy4YA) { goto V0QnQ; V0QnQ: $this->callback = $hy4YA; goto rQrRW; rQrRW: $this->signature = $C5nM9; goto tch3K; tch3K: parent::__construct(); goto dGZ0L; dGZ0L: } protected function execute(InputInterface $Nw6ws, OutputInterface $Tvp0d) { goto dp2D0; m4xfi: return $this->laravel->call($this->callback->bindTo($this, $this), $V1mIr); goto WsCz2; dp2D0: $ZPlK3 = array_merge($Nw6ws->getArguments(), $Nw6ws->getOptions()); goto YX7PK; YX7PK: $V1mIr = array(); goto PPpno; PPpno: foreach ((new \ReflectionFunction($this->callback))->getParameters() as $XfA5o) { if (isset($ZPlK3[$XfA5o->name])) { $V1mIr[$XfA5o->name] = $ZPlK3[$XfA5o->name]; } } goto m4xfi; WsCz2: } public function describe($tjJfA) { $this->setDescription($tjJfA); return $this; } }