default:
$text =
sprintf(' <info>%s</info> [<comment>%s</comment>]:',
$text, OutputFormatter::
escape($default));
} $output->
writeln($text);
$prompt = ' > ';
if ($question instanceof ChoiceQuestion
) { $output->
writeln($this->
formatChoiceQuestionChoices($question, 'comment'
));
$prompt =
$question->
getPrompt();
} $output->
write($prompt);
} /**
* @return void
*/
protected function writeError(OutputInterface
$output, \Exception
$error) { if ($output instanceof SymfonyStyle
) {