1 | <?php |
||
13 | abstract class BaseComposerCommand extends BaseCommand |
||
14 | { |
||
15 | /** |
||
16 | * Return options that are NOT default |
||
17 | * We don't want to call Composer commands with every possible option set... |
||
18 | * |
||
19 | * @param InputInterface $input |
||
20 | * @param bool $decorated |
||
21 | * @return array |
||
22 | */ |
||
23 | protected function getOptions(InputInterface $input, $decorated = true) |
||
41 | |||
42 | /** |
||
43 | * Create Process for Composer command |
||
44 | * |
||
45 | * @param $command |
||
46 | * @param array $packages |
||
47 | * @param array $options |
||
48 | * @return Process |
||
49 | */ |
||
50 | protected function createProcess($command, array $packages, array $options) |
||
72 | } |
||
73 |