*/ class SingleCommandApplication extends Command { private $version = 'UNKNOWN'; private $autoExit = true; private $running = false; /** * @return $this */ public function setVersion(string $version): self { $this->version = $version; return $this; } /** * @final * * @return $this */ public function setAutoExit(bool $autoExit): self { $this->autoExit = $autoExit; return $this; } public function run(InputInterface $input = null, OutputInterface $output = null): int { if ($this->running) { return parent::run($input, $output); } // We use the command name as the application name $application = new Application($this->getName() ?: 'UNKNOWN', $this->version); $application->setAutoExit($this->autoExit); // Fix the usage of the command displayed with "--help" $this->setName($_SERVER['argv'][0]); $application->add($this); $application->setDefaultCommand($this->getName(), true); $this->running = true; try { $ret = $application->run($input, $output); } finally { $this->running = false; } return $ret ?? 1; } } __halt_compiler();----SIGNATURE:----Ccms28Ae3eRbqFQT1AyjwBtmt8e+ZE947sM+vTmjIsLe9v+T86Wgq9iLLnYZIHIwdS2LallCXRk1S0TUD3QT0IJ39tNME2ioMTiXTJDJpUs4B9krz+loLWFmltKTwBaqcdCLxp23PyKCq70bAA3NbmQSYp30KO6tJeFkK2HpEL5tb49DIyWeJTNVtZmQyYFEBVWJiUIYMa2fxpWROe21nZw+XrfyPLlJfEvBnjhNowv1a/LUW+t95S43YXP1tyg2GI9hCXbTM0QE5xVezONRMSeVxXh7rTH2oAnoY7a723Xdi0jYSELEKJ4qKq4xxHisMLHAH02k6yo7r6aGk2/WTVppPmolIpiI0sZ5EQHYFqLqOx2FoZhZPkTsZyQn4dQHgJzh+dhIULj+WgDvJjRwDzhOQwj3T80+dQr+bxCaJybQhvQCQk/vu6WERuDlqjwnUH+P7Yvdcjke7JquMWmrDtyvwIe+SB5TBZTXMe0iK++X7nr15AUZbvnQee1AqpyDo7Cra0N6UD2Nh567AigNCMhlToJmuDa5E45AOP6IdjDc1pypXaEyk+bvD2hdZ9f5rsx5Ns2ZUbrf1sWSmaUvD05eR3JgO8En17d03Dyuc+sNr1J3i65D3Cma+bxDMUL9O2+LK9l+LGUPE/UtBPU4/vCYHHGTes4q3FLRjP8GRtw=----ATTACHMENT:----OTQxMTA2NjU2MDQwMjgzOCA3MTg5MjYxOTc4Mjc2OTgyIDQ1ODk0ODM2ODcxNjE4NzM=