Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class GetCommand extends AbstractObjectStoreCommand |
||
13 | { |
||
14 | protected static $defaultName = 'app:object-store:get'; |
||
15 | |||
16 | 3 | protected function configure(): void |
|
17 | { |
||
18 | $this |
||
19 | 3 | ->setDescription('Gets a value from the ObjectStore') |
|
20 | 3 | ->addArgument('key', InputArgument::REQUIRED, 'Object key') |
|
21 | 3 | ->addOption('timestamp', 't', InputOption::VALUE_REQUIRED, 'Timestamp to get the value') |
|
22 | ; |
||
23 | 3 | } |
|
24 | |||
25 | 3 | public function executeInner(SymfonyStyle $io, InputInterface $input): int |
|
48 | } |
||
49 | } |
||
50 |