protected function formattedQuestion($question, $defaultValue) { return Format::forQuestion($question, $defaultValue); }
/** * @param HelperSet $helperSet * @param InputInterface $input * @param OutputInterface $output * * @return string */ private function askIfContinueToAdd(HelperSet $helperSet, InputInterface $input, OutputInterface $output) { return $this->questionHelper($helperSet)->ask($input, $output, new ConfirmationQuestion(Format::forQuestion('Add another entry to this collection?', 'n'), false)); }