/** * @param Garp_Service_PostcodeNl_Zipcode_Set $zipSet * @param bool $overwrite Whether to overwrite existing location entries matching these zipcodes * @return void */ protected function _storeZipSet(Garp_Service_PostcodeNl_Zipcode_Set &$zipSet, $overwrite) { $this->_progress = Garp_Cli_Ui_ProgressBar::getInstance(); $this->_progress->init($this->_totalZips); $this->_progress->display("initializing import"); array_walk($zipSet, array($this, '_storeZip'), $overwrite); }