WellCommerce\Bundle\LocaleBundle\Command\AddLocaleCommand::chooseTargetCurrency PHP Метод

chooseTargetCurrency() приватный Метод

private chooseTargetCurrency ( 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
Результат string
    private function chooseTargetCurrency(InputInterface $input, OutputInterface $output) : string
    {
        $question = new ChoiceQuestion('Please select a default currency for new locale:', $this->installedCurrencies);
        $targetLocaleCurrency = $this->getHelper('question')->ask($input, $output, $question);
        return $targetLocaleCurrency;
    }