Add missing comments in CRM/Core
[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 function __construct() {
10 }
11
12 // TODO: this is the most rudimentary possible hack. CG config should
13 // eventually be made into a first-class object.
14 function setConfig($config) {
15 $this->config = $config;
16 $this->tables = $this->config->tables;
17 }
18 }