| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | protected function executePrepared(InputInterface $input, OutputInterface $output, Configuration $configuration): int |
||
| 23 | { |
||
| 24 | $vaultTitles = $input->getOption('vaults') ? explode(',', $input->getOption('vaults')) : []; |
||
| 25 | |||
| 26 | $archivr = new ArchivR($configuration); |
||
| 27 | $archivr->synchronize($vaultTitles, new SynchronizationProgressListener($output)); |
||
| 28 | |||
| 29 | $output->writeln(PHP_EOL . '<info>Done!</info>'); |
||
| 30 | |||
| 31 | return 0; |
||
| 32 | } |
||
| 33 | } |
||
| 34 |