protected configureIO ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected function configureIO(InputInterface $input, OutputInterface $output)
{
if (true === $input->hasParameterOption(array('--colors'))) {
$output->setDecorated(true);
} elseif (true === $input->hasParameterOption(array('--no-colors'))) {
$output->setDecorated(false);
}
parent::configureIO($input, $output);
}