| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class StoreCommand extends AbstractObjectStoreCommand |
||
| 14 | { |
||
| 15 | protected static $defaultName = 'app:object-store:store'; |
||
| 16 | |||
| 17 | 2 | protected function configure(): void |
|
| 18 | { |
||
| 19 | $this |
||
| 20 | 2 | ->setDescription('Stores a value in the ObjectStore') |
|
| 21 | 2 | ->addArgument('key', InputArgument::REQUIRED, 'Object key') |
|
| 22 | 2 | ->addArgument('value', InputArgument::REQUIRED, 'JSON-encoded value to store') |
|
| 23 | ; |
||
| 24 | 2 | } |
|
| 25 | |||
| 26 | 2 | public function executeInner(SymfonyStyle $io, InputInterface $input): int |
|
| 44 | } |
||
| 45 | } |
||
| 46 |