Interface
StockIndexInterface
Magento\CatalogInventory\Api\StockIndexInterface
What it does
This interface defines a contract for rebuilding the stock index in Magento 2's catalog inventory system.
Developers would implement this interface to create services that update stock availability data for products across different scopes (stores/websites).
Note that this interface is deprecated and has been replaced by Multi Source Inventory (MSI) functionality.
Public Methods
- rebuild()