Log in
Model

ConverterPool

Magento\Catalog\Model\ProductLink\Converter\ConverterPool

What it does

This class manages a pool of product link converters and provides the appropriate converter based on the product link type (e.g., related, upsell, crosssell).

Developers use this when they need to convert product link data between different formats, with a fallback to a default converter if no specific converter exists for the requested link type.

Public Methods

  • getConverter()