Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | ||
3 | /** | |
4 | * Implemented by CG tasks | |
5 | */ | |
6 | interface CRM_Core_CodeGen_ITask { | |
7 | /** | |
8 | * Make configuration object available to the task. | |
9 | * | |
10 | * @param $config | |
11 | * Is currently the CRM_Core_CodeGen_Main object. | |
12 | */ | |
13 | public function setConfig($config); | |
14 | ||
15 | /** | |
16 | * Perform the task. | |
17 | */ | |
18 | public function run(); | |
19 | } |