Model
StockByWebsiteIdResolver
Magento\InventorySales\Model\StockByWebsiteIdResolver
What it does
This class resolves which inventory stock is assigned to a specific website by its ID.
Developers use this when they need to determine the correct stock source for inventory operations on a particular website in a multi-website Magento setup, converting website IDs to their corresponding stock assignments.
Public Methods
- execute()