/** * Constructor * * @param Craftsman_Migration $Model */ public function __construct(\CI_Controller $CI) { parent::__construct(); $this->CI =& $CI; /** * We need to load the special migration settings. * * Config file: * src/Extend/config/migration.php */ $CI->config->load('migration', TRUE, TRUE); }
/** * Class constructor */ public function __construct() { parent::__construct(); $this->_filesystem = new Filesystem(); }