mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-25 17:45:34 +08:00
split runtime info into runtime preferences
This commit is contained in:
@@ -33,11 +33,6 @@ abstract class Command extends \Symfony\Component\Console\Command\Command implem
|
||||
$this->input = $input;
|
||||
$this->output = $output;
|
||||
if ($this->shouldExecute()) {
|
||||
if (property_exists($this, 'bootstrappers')) {
|
||||
foreach ($this->bootstrappers as $bootstrapper) {
|
||||
(new $bootstrapper())->bootstrap($this->input->getOptions());
|
||||
}
|
||||
}
|
||||
try {
|
||||
return $this->handle();
|
||||
} catch (\Throwable $e) {
|
||||
|
||||
Reference in New Issue
Block a user