protected _getInput ( string $prompt, string | null $options, string | null $default ) : string | ||
$prompt | string | Prompt text. |
$options | string | null | String of options. Pass null to omit. |
$default | string | null | Default input value. Pass null to omit. |
return | string | Either the default value, or the user-provided input. |