Merge pull request #4696 from colemanw/CRM-15669
[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 is currently the CRM_Core_CodeGen_Main object.
11 */
12 public function setConfig($config);
13
14 /**
15 * Perform the task.
16 */
17 public function run();
18 }