public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
public function doRun(InputInterface $input, OutputInterface $output)
{
$styles = Factory::createAdditionalStyles();
foreach ($styles as $name => $style) {
$output->getFormatter()->setStyle($name, $style);
}
$this->io = new ConsoleIO($input, $output, $this->getHelperSet());
ErrorHandler::register($this->io);
return parent::doRun($input, $output);
}