Log in
Model

LinkedProductSelectBuilderComposite

Magento\Catalog\Model\ResourceModel\Product\LinkedProductSelectBuilderComposite

What it does

This class aggregates multiple LinkedProductSelectBuilder instances to collect database SELECT queries for retrieving linked products (related, upsell, cross-sell) associated with a given product.

Developers use this when they need to fetch all types of linked products for a specific product ID and store ID in a single operation, as it delegates to various specialized builders and combines their results.

Public Methods

  • build()