1 | <?php |
||
11 | abstract class AbstractConsoleCommand extends ReflectingCommand |
||
12 | { |
||
13 | /** |
||
14 | * @param string $variable |
||
15 | * @param mixed $value |
||
16 | * |
||
17 | * @return void |
||
18 | */ |
||
19 | public function setScopeVariable($variable, $value) |
||
26 | |||
27 | /** |
||
28 | * @param string $type |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function get($type) |
||
38 | |||
39 | /** |
||
40 | * @param string $type |
||
41 | * @param array $arguments |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function create($type, $arguments = []) |
||
51 | |||
52 | /** |
||
53 | * Call n98-magerun command |
||
54 | * |
||
55 | * @param string $commandName |
||
56 | * @param InputInterface $input |
||
57 | * @param OutputInterface $output |
||
58 | * @return int |
||
59 | */ |
||
60 | public function callMagerunCommand($commandName, InputInterface $input, OutputInterface $output) |
||
66 | |||
67 | /** |
||
68 | * Call psy console command |
||
69 | * |
||
70 | * @param InputInterface $input |
||
71 | * @param OutputInterface $output |
||
72 | * @return int |
||
73 | */ |
||
74 | public function callCommand(InputInterface $input, OutputInterface $output) |
||
86 | } |
||
87 |