GetLegacyStockItemsCache
Magento\InventoryConfiguration\Model\GetLegacyStockItemsCache
What it does
This class retrieves legacy stock item information for products by their SKUs while utilizing a cache layer to improve performance.
Developers use this when they need to fetch stock item data for multiple products and want to avoid repeated database queries by leveraging cached results.
It's particularly useful in inventory management operations where the same stock items are accessed frequently.
Public Methods
- execute()