Interface
ProductIdLocatorInterface
Magento\Catalog\Model\ProductIdLocatorInterface
What it does
This interface defines a contract for retrieving product IDs and types by their SKUs.
Developers use implementations of this interface when they need to efficiently look up multiple products' internal IDs and types (simple, configurable, etc.) using SKU codes, which is common in import operations, API integrations, or bulk product processing.
Public Methods
- retrieveProductIdsBySkus()