1 | <?php |
||
35 | abstract class AbstractRoboFile extends Tasks |
||
36 | { |
||
37 | |||
38 | /** |
||
39 | * Load the appserver.io base tasks. |
||
40 | * |
||
41 | * @var \AppserverIo\RoboTasks\Base\loadTasks |
||
42 | */ |
||
43 | use Base\loadTasks; |
||
44 | |||
45 | /** |
||
46 | <<<<<<< HEAD |
||
47 | * Initializes the default configuration. |
||
48 | */ |
||
49 | public function __construct() |
||
58 | |||
59 | /** |
||
60 | * The sync command implementation. |
||
61 | * |
||
62 | * @param array $opts The command OptionsHookDispatcher |
||
63 | * |
||
64 | * @return void |
||
65 | */ |
||
66 | public function sync(array $opts = [InputOptionKeys::SRC => null, InputOptionKeys::DEST => null]) |
||
84 | |||
85 | /** |
||
86 | * Returns the source directory. |
||
87 | * |
||
88 | * @return string The source directory |
||
89 | */ |
||
90 | protected function getSrcDir() |
||
94 | |||
95 | /** |
||
96 | * Returns the vendor directory. |
||
97 | * |
||
98 | * @return string The vendor directory |
||
99 | */ |
||
100 | protected function getVendorDir() |
||
104 | |||
105 | /** |
||
106 | * Returns the reports directory. |
||
107 | * |
||
108 | * @return string The reports directory |
||
109 | */ |
||
110 | protected function getReportsDir() |
||
114 | |||
115 | /** |
||
116 | * Returns the target directory. |
||
117 | * |
||
118 | * @return string The target directory |
||
119 | */ |
||
120 | protected function getTargetDir() |
||
124 | } |
||
125 |