1 | <?php |
||
22 | class Command extends \Symfony\Component\Console\Command\Command |
||
23 | { |
||
24 | /** |
||
25 | * The commander configuration. |
||
26 | * |
||
27 | * @var Config |
||
28 | */ |
||
29 | private $configuration; |
||
30 | |||
31 | /** |
||
32 | * The commander. |
||
33 | * |
||
34 | * @var Commander |
||
35 | */ |
||
36 | private $commander; |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | 10 | protected function configure() |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 6 | protected function initialize(InputInterface $input, OutputInterface $output) |
|
68 | |||
69 | /** |
||
70 | * Get commander configuration. |
||
71 | * |
||
72 | * @return Config |
||
73 | * |
||
74 | * @throws \LogicException |
||
75 | */ |
||
76 | 8 | public function getConfiguration() |
|
84 | |||
85 | /** |
||
86 | * Get operational commander. |
||
87 | * |
||
88 | * @return Commander |
||
89 | * |
||
90 | * @throws \LogicException |
||
91 | */ |
||
92 | 2 | public function getCommander() |
|
100 | } |
||
101 |