ListResultInterface
Magento\Catalog\Model\ProductLink\Data\ListResultInterface
What it does
This interface defines the contract for returning results when fetching a list of product links (related, upsell, cross-sell products).
It provides a standardized way to handle both successful retrievals (via getResult) and errors (via getError) that may occur during the link retrieval process.
Developers use this when implementing or consuming services that fetch multiple product link relationships.
Public Methods
- getResult()
- getError()