Log in
Model

DataDifferenceCalculator

Magento\Store\Model\Config\Importer\DataDifferenceCalculator

What it does

This class calculates the differences between the current store configuration and new configuration data being imported.

Developers use it when implementing store configuration import functionality to determine which websites, store groups, or store views need to be created, updated, or deleted.

It's primarily used by Magento's configuration import/export system to synchronize store hierarchy across environments.

Public Methods

  • getItemsToDelete()
  • getItemsToCreate()
  • getItemsToUpdate()