Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | final class LookupKeyCommand extends Command |
||
16 | { |
||
17 | protected static $defaultName = 'damax:api-auth:storage:lookup-key'; |
||
18 | |||
19 | private $storage; |
||
20 | |||
21 | public function __construct(Storage $storage) |
||
26 | } |
||
27 | |||
28 | protected function configure() |
||
29 | { |
||
30 | $this |
||
31 | ->setDescription('Lookup api key in storage.') |
||
32 | ->addArgument('key', InputArgument::REQUIRED, 'Api key.') |
||
33 | ; |
||
34 | } |
||
35 | |||
36 | protected function execute(InputInterface $input, OutputInterface $output) |
||
53 | ]); |
||
54 | } |
||
56 |