private function _addEmptyDir(ZipArchive $oZip, $sInsidePath, $oCallable) { $sInsidePath = $this->_getFilteredArchivePath($sInsidePath, $oCallable); if (!strlen($sInsidePath)) { return; } $oZip->addEmptyDir(ltrim($sInsidePath, '/')); }