isInteractive()) { if (!$dialog->askConfirmation($output, $dialog->getQuestion($this->trans('commands.common.questions.confirm'), 'yes', '?'), true) ) { $output->writeln('' . $this->trans('commands.common.messages.canceled') . ''); return true; } return false; } return false; } }