Method | Description | |
---|---|---|
askAndValidate ( string $question, array $choices, callback $validator, mixed $default = null, boolean $secret = false ) : string | Asks a question and validates the response. | |
askSecretAndValidate ( string $question, array $choices, callback $validator, mixed $default = null ) : string | Asks a question and validates the secret response. |