Elcodi\Component\Geo\Command\Abstracts\AbstractLocationCommand::confirmRemoval PHP Method

confirmRemoval() private method

Asks to confirm the location removal.
private confirmRemoval ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $countryCode ) : boolean
$input Symfony\Component\Console\Input\InputInterface The input interface
$output Symfony\Component\Console\Output\OutputInterface The output interface
$countryCode string The country code
return boolean
    private function confirmRemoval(InputInterface $input, OutputInterface $output, $countryCode)
    {
        /**
         * @var QuestionHelper $questionHelper
         */
        $questionHelper = $this->getHelper('question');
        $message = "<question>Country with code '{$countryCode}' will be dropped. Continue?</question>";
        return $questionHelper->ask($input, $output, new ConfirmationQuestion($message, false));
    }