getName()); } protected function configure(): void { $this->setDescription($this->phredCommand->getDescription()); foreach ($this->phredCommand->getArguments() as $name => $description) { $this->addArgument($name, InputArgument::OPTIONAL, $description); } foreach ($this->phredCommand->getOptions() as $name => $description) { $this->addOption($name, null, InputOption::VALUE_OPTIONAL, $description); } } protected function execute(SymfonyInputInterface $input, SymfonyOutputInterface $output): int { $phredInput = new SymfonyInputAdapter($input); $phredOutput = new SymfonyOutputAdapter($output); return $this->phredCommand->execute($phredInput, $phredOutput); } }