WellCommerce\Bundle\LocaleBundle\Command\AddLocaleCommand::chooseTargetLocale PHP Method

chooseTargetLocale() private method

private chooseTargetLocale ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return string
    private function chooseTargetLocale(InputInterface $input, OutputInterface $output) : string
    {
        $question = new ChoiceQuestion('Please select target locale to which new entities will be copied:', $this->availableLocales);
        $targetLocale = $this->getHelper('question')->ask($input, $output, $question);
        return $targetLocale;
    }