You are here

public function ChoiceQuestion::setPrompt in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Question

Code

public function setPrompt($prompt) {
  $this->prompt = $prompt;
  return $this;
}