protected function getConfirmationQuestion(string $questionName, bool $defaultValue = false): ConfirmationQuestion
    {
        return new ConfirmationQuestion(
            sprintf(
                '<info>%s</info> [<comment>%s</comment>]? ',
                $questionName,
                $defaultValue ? 'yes' : 'no'
            ),
            $defaultValue
        );
    }
protected function getConfirmationQuestion(string $questionName, bool $defaultValue = false): ConfirmationQuestion
    {
        return new ConfirmationQuestion(
            sprintf(
                '<info>%s</info> [<comment>%s</comment>]? ',
                $questionName,
                $defaultValue ? 'yes' : 'no'
            ),
            $defaultValue
        );
    }
protected function getConfirmationQuestion ( string $ questionName , bool $ defaultValue = false ) : ConfirmationQuestion { return new ConfirmationQuestion ( sprintf ( '<info>%s</info> [<comment>%s</comment>]? ' , $ questionName , $ defaultValue ? 'yes' : 'no' ) , $ defaultValue ) ; }
Instantiates and returns the confirmation question.
Instantiates and returns the confirmation question .