1 | <?php |
||
24 | class OAuth2CommandParser implements CommandParserInterface |
||
25 | { |
||
26 | /** |
||
27 | * @var NormalizerInterface |
||
28 | */ |
||
29 | private $normalizer; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private $authentication; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | private $token; |
||
40 | |||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | private $rootDir; |
||
45 | |||
46 | /** |
||
47 | * @param NormalizerInterface $normalizer |
||
48 | * @param string $rootDir |
||
49 | * @param string $authentication |
||
50 | */ |
||
51 | public function __construct(NormalizerInterface $normalizer, $rootDir, $authentication = null) |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function parse(InputInterface $input, OutputInterface $output) |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function execute(InputInterface $input, OutputInterface $output) |
||
95 | |||
96 | /** |
||
97 | * {@inheritdoc} |
||
98 | */ |
||
99 | public function supports() |
||
103 | } |
||
104 |