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 | * Initializes the default configuration. |
||
47 | */ |
||
48 | public function __construct() |
||
57 | |||
58 | /** |
||
59 | * The sync command implementation. |
||
60 | * |
||
61 | * @param array $opts The command OptionsHookDispatcher |
||
62 | * |
||
63 | * @return void |
||
64 | */ |
||
65 | public function sync(array $opts = [InputOptionKeys::SRC => null, InputOptionKeys::DEST => null]) |
||
83 | |||
84 | /** |
||
85 | * Returns the source directory. |
||
86 | * |
||
87 | * @return string The source directory |
||
88 | */ |
||
89 | protected function getSrcDir() |
||
93 | |||
94 | /** |
||
95 | * Returns the vendor directory. |
||
96 | * |
||
97 | * @return string The vendor directory |
||
98 | */ |
||
99 | protected function getVendorDir() |
||
103 | |||
104 | /** |
||
105 | * Returns the reports directory. |
||
106 | * |
||
107 | * @return string The reports directory |
||
108 | */ |
||
109 | protected function getReportsDir() |
||
113 | |||
114 | /** |
||
115 | * Returns the target directory. |
||
116 | * |
||
117 | * @return string The target directory |
||
118 | */ |
||
119 | protected function getTargetDir() |
||
123 | } |
||
124 |