$question
$question :
setHidden(boolean $hidden) : \think\console\output\Question
隐藏答案
| boolean | $hidden |
setHiddenFallback(boolean $fallback) : \think\console\output\Question
设置不能被隐藏的时候的操作
| boolean | $fallback |
setAutocompleterValues(null|array|\Traversable $values) : \think\console\output\Question
设置自动完成的值
| null|array|\Traversable | $values |
setValidator(null|callable $validator) : \think\console\output\Question
设置答案的验证器
| null|callable | $validator |
The current instance
setMaxAttempts(null|integer $attempts) : \think\console\output\Question
设置最大重试次数
| null|integer | $attempts |
setNormalizer(string|\Closure $normalizer) : \think\console\output\Question
设置响应的回调
| string|\Closure | $normalizer |