bool
askConfirmation(OutputInterface $output, string|array $question, bool $default = true)
Asks a confirmation to the user. The question will be asked until the user answers by nothing, yes, or no.
Parameters OutputInterface $output An Output instance string|array $question The question to ask bool $default The default answer if the user enters nothing Return Value bool true if the user has confirmed, false otherwise