diff --git a/Command/DownloadCommand.php b/Command/DownloadCommand.php index 53bfa0d8..3e3ced85 100644 --- a/Command/DownloadCommand.php +++ b/Command/DownloadCommand.php @@ -45,8 +45,10 @@ protected function execute(InputInterface $input, OutputInterface $output) /** @var StorageService $storage */ $storage = $container->get('php_translation.storage.'.$configName); + /** @var Configuration $configuration */ - $configuration = $this->getContainer()->get('php_translation.configuration.'.$configName); + $configuration = $container->get('php_translation.configuration_manager') + ->getConfiguration($input->getArgument('configuration')); $this->configureBundleDirs($input, $configuration); if ($input->getOption('cache')) {