<?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($DUcCS, \Closure $NOPYJ) { goto F79pd; U1SlZ: $this->signature = $DUcCS; goto Y3T1t; Y3T1t: parent::__construct(); goto rbrxE; F79pd: $this->callback = $NOPYJ; goto U1SlZ; rbrxE: } protected function execute(InputInterface $Q9nmo, OutputInterface $m8MNu) { goto gP_z5; A4ayJ: $E2Mf5 = array(); goto Ab0iX; Ab0iX: foreach ((new \ReflectionFunction($this->callback))->getParameters() as $vydJz) { if (isset($OZqNe[$vydJz->name])) { $E2Mf5[$vydJz->name] = $OZqNe[$vydJz->name]; } } goto kOugJ; gP_z5: $OZqNe = array_merge($Q9nmo->getArguments(), $Q9nmo->getOptions()); goto A4ayJ; kOugJ: return $this->laravel->call($this->callback->bindTo($this, $this), $E2Mf5); goto BrJEH; BrJEH: } public function describe($TYi0p) { $this->setDescription($TYi0p); return $this; } }