class ChoiceQuestion extends Question
Represents a choice question.
Methods
__construct(string $question, array $choices, mixed $default = null) Constructor.
string getQuestion() Returns the question. from Question mixed getDefault() Returns the default answer. from Question bool isHidden() Returns whether the user response must be hidden. from Question Question setHidden(bool $hidden) Sets whether the user response must be hidden or not. from Question bool isHiddenF