CleanupReservationsInterface
Magento\InventoryReservationsApi\Model\CleanupReservationsInterface
What it does
This interface defines a contract for cleaning up inventory reservations in Magento 2's Multi-Source Inventory (MSI) system.
Developers implement this interface to create custom strategies for removing obsolete or completed reservations from the database, preventing the reservation table from becoming overloaded with historical data.
This is particularly useful for high-volume stores that need to maintain optimal database performance.
Public Methods
- execute()