self::
$stty = false;
} /**
* Asks the question to the user.
*
* @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden
*/
private function doAsk(OutputInterface
$output, Question
$question): mixed
{ $this->
writePrompt($output,
$question);
$inputStream =
$this->inputStream ?: \STDIN;
$autocomplete =
$question->
getAutocompleterCallback();
if (null ===
$autocomplete || !self::
$stty || !Terminal::
hasSttyAvailable()) { $ret = false;
if ($question->
isHidden()) { try { $hiddenResponse =
$this->
getHiddenResponse($output,
$inputStream,
$question->
isTrimmable());
$ret =
$question->
isTrimmable() ?
trim($hiddenResponse) :
$hiddenResponse;
} catch (RuntimeException
$e) {