1 | <?php |
||
28 | abstract class AbstractPackageManipulatingTask extends AbstractComposerCommandTask |
||
29 | { |
||
30 | /** |
||
31 | * The package to install. |
||
32 | */ |
||
33 | const SETTING_PACKAGE = 'package'; |
||
34 | |||
35 | /** |
||
36 | * The home path of tenside. |
||
37 | */ |
||
38 | const SETTING_HOME = 'home'; |
||
39 | |||
40 | /** |
||
41 | * The no update flag. |
||
42 | */ |
||
43 | const SETTING_NO_UPDATE = 'no-update'; |
||
44 | |||
45 | /** |
||
46 | * Retrieve the names of the packages to manipulate. |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | public function getPackage() |
||
54 | |||
55 | /** |
||
56 | * Retrieve the home path of tenside. |
||
57 | * |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getHome() |
||
64 | |||
65 | /** |
||
66 | * Check if the update shall be omitted and only the composer.json shall be manipulated. |
||
67 | * |
||
68 | * @return bool |
||
69 | */ |
||
70 | public function isNoUpdate() |
||
74 | |||
75 | /** |
||
76 | * {@inheritDoc} |
||
77 | */ |
||
78 | protected function prepareInput() |
||
90 | } |
||
91 |