GetListInterface
Magento\Inventory\Model\SourceItem\Command\GetListInterface
What it does
This interface defines a command for retrieving a list of source items (inventory locations and their stock quantities) based on search criteria.
Developers use this when they need to query inventory data with specific filters, sorting, or pagination.
It acts as a Service Provider Interface (SPI) that separates the repository's public API from the actual data retrieval implementation.
Public Methods
- execute()