| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | 2 | protected function execute(InputInterface $input, OutputInterface $output): int |
|
| 42 | { |
||
| 43 | 2 | $purpose = $input->getOption('purpose'); |
|
| 44 | |||
| 45 | 2 | $count = $this->archivist->archive($purpose); |
|
| 46 | |||
| 47 | 2 | $output->writeln( |
|
| 48 | 2 | sprintf('<info>Successfully archived <comment>%d</comment> security token(s).</info>', $count) |
|
| 49 | ); |
||
| 50 | |||
| 51 | 2 | return 0; |
|
| 52 | } |
||
| 53 | } |
||
| 54 |