1 | <?php |
||
24 | final class KeyAnalyzerCommand extends Command |
||
25 | { |
||
26 | /** |
||
27 | * @var JWKAnalyzerManager |
||
28 | */ |
||
29 | private $analyzerManager; |
||
30 | |||
31 | /** |
||
32 | * @var JsonConverterInterface |
||
33 | */ |
||
34 | private $jsonConverter; |
||
35 | |||
36 | /** |
||
37 | * KeyAnalyzerCommand constructor. |
||
38 | * |
||
39 | * @param JWKAnalyzerManager $analyzerManager |
||
40 | * @param JsonConverterInterface $jsonConverter |
||
41 | * @param string|null $name |
||
42 | */ |
||
43 | public function __construct(JWKAnalyzerManager $analyzerManager, JsonConverterInterface $jsonConverter, string $name = null) |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | protected function configure() |
||
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | protected function execute(InputInterface $input, OutputInterface $output) |
||
76 | |||
77 | /** |
||
78 | * @param InputInterface $input |
||
79 | * |
||
80 | * @return JWK |
||
81 | */ |
||
82 | private function getKey(InputInterface $input): JWK |
||
92 | } |
||
93 |