Question

Question

class Question

Represents a Question.

Methods

__construct(string $question, mixed $default = null)

Constructor.

string getQuestion()

Returns the question.

mixed getDefault()

Returns the default answer.

bool isHidden()

Returns whether the user response must be hidden.

$this setHidden(bool $hidden)

Sets whether the user response must be hidden or not.

bool isHiddenFallback()

In case the response can