public function select($question, array $choices, $default = null, bool $multiSelect = false, int $attempts = null)
    {
        $question = new ChoiceQuestion($this->combineQuestion($question), $choices, $default);
        $question
            ->setMaxAttempts($attempts)
            ->setMultiselect($multiSelect)
            ->setErrorMessage('Value "%s" is invalid');

        return $this->getQuestionHelper()->ask($this->input, $this->output, $question);
    }