Merge pull request #4980 from xurizaemon/CRM-15844
[civicrm-core.git] / CRM / Core / CodeGen / ITask.php
... / ...
CommitLineData
1<?php
2
3/**
4 * Implemented by CG tasks
5 */
6interface 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}