• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/managers/vendordataexchangemanager.php
  • Класс: BitrixCalendarSyncManagersVendorDataExchangeManager
  • Вызов: VendorDataExchangeManager::getSyncSectionMapBySyncSectionMap
public function getSyncSectionMapBySyncSectionMap(
	SyncEntitiesSyncSectionMap $syncSectionMap
): SyncEntitiesSyncSectionMap
{
	$syncSectionList = $this->isFullSync
		? $this->syncSectionMap->getCollection()
		: $this->syncSectionMap
			->getItemsByKeys(array_keys($syncSectionMap->getCollection()))
			->getCollection();

	return new SyncEntitiesSyncSectionMap(
		array_diff_key($syncSectionList, $syncSectionMap->getCollection()),
	);
}