Commit | Line | Data |
---|---|---|
5e434adf ARW |
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 | * | |
6a0b768e TO |
10 | * @param $config |
11 | * Is currently the CRM_Core_CodeGen_Main object. | |
5e434adf | 12 | */ |
00be9182 | 13 | public function setConfig($config); |
5e434adf ARW |
14 | |
15 | /** | |
16 | * Perform the task. | |
17 | */ | |
00be9182 | 18 | public function run(); |
5e434adf | 19 | } |