Skip to content

Commit 7c58aaa

Browse files
mastercodingNyholm
authored andcommitted
Fix fetching config for symfony4 (#187)
1 parent a772cdb commit 7c58aaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Command/DownloadCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ protected function execute(InputInterface $input, OutputInterface $output)
4545

4646
/** @var StorageService $storage */
4747
$storage = $container->get('php_translation.storage.'.$configName);
48+
4849
/** @var Configuration $configuration */
49-
$configuration = $this->getContainer()->get('php_translation.configuration.'.$configName);
50+
$configuration = $container->get('php_translation.configuration_manager')
51+
->getConfiguration($input->getArgument('configuration'));
5052
$this->configureBundleDirs($input, $configuration);
5153

5254
if ($input->getOption('cache')) {

0 commit comments

Comments
 (0)