Merge pull request #4979 from xurizaemon/codingstandards-12
[civicrm-core.git] / CRM / Core / CodeGen / ITask.php
CommitLineData
5e434adf
ARW
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 *
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}