ConverterInterface
Magento\Catalog\Model\ProductLink\Converter\ConverterInterface
What it does
This interface defines a contract for converters that transform Magento Product objects into array representations.
Developers implement this interface when creating custom product link converters, such as when exporting product relationships (related, upsell, cross-sell) or preparing product data for API responses.
It's commonly used in product link management scenarios where product data needs to be serialized or transferred between different system components.
Public Methods
- convert()