Merge remote-tracking branch 'upstream/4.5' into 4.5-4.6-2015-04-13-16-08-08
[civicrm-core.git] / CRM / Core / CodeGen / ITask.php
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
20 }