/** * Import maps. */ protected function processMaps() { if ($maps = $this->getFormattedMaps()) { $mapImporter = new CMapImporter($this->options, $this->referencer); $mapImporter->import($maps); } }
/** * Import maps. */ protected function processMaps() { if ($this->options['maps']['updateExisting'] || $this->options['maps']['createMissing']) { $maps = $this->getFormattedMaps(); if ($maps) { $mapImporter = new CMapImporter($this->options, $this->referencer, $this->importedObjectContainer); $mapImporter->import($maps); } } }