Classes/Console/Mvc/Cli/ConsoleOutput.php
public function askHiddenResponse($question, $fallback = true)
    {
        $question = (new Question($question))
            ->setHidden(true)
            ->setHiddenFallback($fallback);

        return $this->getQuestionHelper()->ask($this->getInput(), $this->output, $question);
    }
public function askHiddenResponse($question, $fallback = true)
    {
        $question = (new Question($question))
            ->setHidden(true)
            ->setHiddenFallback($fallback);

        return $this->getQuestionHelper()->ask($this->getInput(), $this->output, $question);
    }
Asks a question to the user, the response is hidden

@param string|array $question The question. If an array each array item is turned into one line of a multi-line question
@param bool $fallback In case the response can not be hidden, whether to fallback on non-hidden question or not
@throws \Symfony\Component\Console\Exception\LogicException
@throws \Symfony\Component\Console\Exception\RuntimeException
@return string The answer