Interface
ListCriteriaInterface
Magento\Catalog\Model\ProductLink\Data\ListCriteriaInterface
What it does
This interface defines the criteria for searching and filtering product links (related products, up-sells, cross-sells, etc.) in Magento 2.
Developers use this to specify which product's links to retrieve (by SKU) and optionally filter by specific link types.
It's typically used when building queries to fetch product relationships from the catalog.
Public Methods
- getBelongsToProductSku()
- getLinkTypes()