1 | <?php |
||
15 | class ModuleCommand extends Command |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | public static $actions = [ |
||
22 | 'install', |
||
23 | 'update', |
||
24 | 'rm', |
||
25 | 'list', |
||
26 | 'enable', |
||
27 | 'disable', |
||
28 | 'run' |
||
29 | ]; |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | */ |
||
34 | 15 | protected function configure() |
|
71 | |||
72 | /** |
||
73 | * @param InputInterface $input |
||
74 | * @param OutputInterface $output |
||
75 | * @return void |
||
76 | */ |
||
77 | 5 | protected function execute(InputInterface $input, OutputInterface $output) |
|
82 | |||
83 | /** |
||
84 | * @param InputInterface $input |
||
85 | * @return \Samurai\Task\ITask |
||
86 | */ |
||
87 | 5 | private function getTask(InputInterface $input) |
|
91 | |||
92 | } |
||
93 |