| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Implemented by CG tasks |
| 5 | */ |
| 6 | interface CRM_Core_CodeGen_ITask { |
| 7 | |
| 8 | /** |
| 9 | * Perform the task. |
| 10 | */ |
| 11 | public function run(); |
| 12 | |
| 13 | /** |
| 14 | * @return bool |
| 15 | * TRUE if an update is needed. |
| 16 | */ |
| 17 | public function needsUpdate(); |
| 18 | |
| 19 | } |