function __construct($csvFilePath) { $this->csvFilePath = $csvFilePath; // initialize the logger $this->log = SotaLogger::getLogger(); $this->initialize(); }
function __construct() { // read initialization file $this->config = parse_ini_file('config.ini', true); // reads the cvs remote path from config file $this->csvFilePath = $this->config['cvs_remote_path']; // initialize the logger $this->log = SotaLogger::getLogger(); }
public function __construct($config) { $this->log = SotaLogger::getLogger(); $this->config = $config; $this->output["new_assoc"] = array(); $this->output["new_region"] = array(); $this->output["new_summit"] = array(); $this->output["upd_assoc"] = array(); $this->output["upd_region"] = array(); $this->output["upd_summit"] = array(); }