Model
IsProductAssignedToStockCacheStorage
Magento\Inventory\Model\GetStockItemData\IsProductAssignedToStockCacheStorage
What it does
This class provides in-memory caching for product-to-stock assignments in Magento's Multi-Source Inventory (MSI) system.
Developers use it to temporarily store and quickly retrieve whether a specific product SKU is assigned to a particular stock ID, avoiding repeated database queries during the same request lifecycle.
Public Methods
- set()
- isProductAssigned()
- delete()