Interface
GetLegacyStockItemsInterface
Magento\InventoryConfiguration\Model\GetLegacyStockItemsInterface
What it does
This interface defines a contract for retrieving legacy CatalogInventory stock items by their SKUs.
Developers use this when they need to fetch traditional stock item data for multiple products at once, particularly when working with backward compatibility between the older CatalogInventory module and newer MSI (Multi-Source Inventory) system.
Public Methods
- execute()