6a4a006e0809152e1841672b7207f28943b2f68d
[civicrm-core.git] / CRM / Core / CodeGen / BaseTask.php
1 <?php
2
3 /**
4 * Class CRM_Core_CodeGen_BaseTask
5 */
6 abstract class CRM_Core_CodeGen_BaseTask implements CRM_Core_CodeGen_ITask {
7 protected $config;
8
9 /**
10 */
11 public function __construct() {
12 }
13
14 /**
15 * TODO: this is the most rudimentary possible hack. CG config should
16 * eventually be made into a first-class object.
17 *
18 * @param object $config
19 */
20 public function setConfig($config) {
21 $this->config = $config;
22 $this->tables = $this->config->tables;
23 }
24
25 }