Log in
Model

SkuStorage

Magento\CatalogImportExport\Model\Import\Product\SkuStorage

What it does

This class provides an efficient in-memory storage system for product SKUs during catalog import/export operations.

It loads all product SKUs from the database along with their IDs, types, and attribute sets, storing them in a memory-optimized format using delimiters and type ID masking.

Developers use this when building custom product import processes to quickly lookup and validate SKUs without repeated database queries.

Public Methods

  • get()
  • iterate()
  • has()
  • set()
  • reset()