public function ChoiceQuestion::setPrompt in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Question/ChoiceQuestion.php \Symfony\Component\Console\Question\ChoiceQuestion::setPrompt()
Sets the prompt for choices.
Parameters
string $prompt:
Return value
ChoiceQuestion The current instance
File
- vendor/
symfony/ console/ Question/ ChoiceQuestion.php, line 86
Class
- ChoiceQuestion
- Represents a choice question.
Namespace
Symfony\Component\Console\QuestionCode
public function setPrompt($prompt) {
$this->prompt = $prompt;
return $this;
}