Command/DeleteObsoleteCommand.php 1 location
|
@@ 83-85 (lines=3) @@
|
| 80 |
|
$locales = [$inputLocale]; |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
if (null === $config = $this->configurationManager->getConfiguration($configName)) { |
| 84 |
|
throw new \InvalidArgumentException(\sprintf('No configuration found for "%s"', $configName)); |
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
$this->configureBundleDirs($input, $config); |
| 88 |
|
$this->catalogueManager->load($this->catalogueFetcher->getCatalogues($config, $locales)); |
Command/DownloadCommand.php 1 location
|
@@ 71-73 (lines=3) @@
|
| 68 |
|
$configName = $input->getArgument('configuration'); |
| 69 |
|
$storage = $this->getStorage($configName); |
| 70 |
|
|
| 71 |
|
if (null === $configuration = $this->configurationManager->getConfiguration($configName)) { |
| 72 |
|
throw new \InvalidArgumentException(\sprintf('No configuration found for "%s"', $configName)); |
| 73 |
|
} |
| 74 |
|
|
| 75 |
|
$this->configureBundleDirs($input, $configuration); |
| 76 |
|
|
Command/ExtractCommand.php 1 location
|
@@ 94-96 (lines=3) @@
|
| 91 |
|
protected function execute(InputInterface $input, OutputInterface $output): void |
| 92 |
|
{ |
| 93 |
|
$configName = $input->getArgument('configuration'); |
| 94 |
|
if (null === $config = $this->configurationManager->getConfiguration($configName)) { |
| 95 |
|
throw new \InvalidArgumentException(\sprintf('No configuration found for "%s"', $configName)); |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
$locales = []; |
| 99 |
|
if ($inputLocale = $input->getArgument('locale')) { |
Command/StatusCommand.php 1 location
|
@@ 75-77 (lines=3) @@
|
| 72 |
|
protected function execute(InputInterface $input, OutputInterface $output): void |
| 73 |
|
{ |
| 74 |
|
$configName = $input->getArgument('configuration'); |
| 75 |
|
if (null === $config = $this->configurationManager->getConfiguration($configName)) { |
| 76 |
|
throw new \InvalidArgumentException(\sprintf('No configuration found for "%s"', $configName)); |
| 77 |
|
} |
| 78 |
|
|
| 79 |
|
$this->configureBundleDirs($input, $config); |
| 80 |
|
|