Log in
Interface

LocaleEmulatorInterface

Magento\ImportExport\Model\LocaleEmulatorInterface

What it does

This interface defines a contract for temporarily switching locale settings during import/export operations.

Developers use this to ensure data is processed in a specific locale context (like formatting dates, numbers, or currencies) during import/export callbacks, then automatically restore the original locale afterward.

Public Methods

  • emulate()