Model
ProductLoader
Magento\CatalogRule\Model\Indexer\IndexBuilder\ProductLoader
What it does
This class loads product objects by their IDs for catalog rule indexing operations.
Developers use it when they need to retrieve multiple products efficiently during catalog rule reindexing, such as when applying price rules to specific products.
It provides a clean interface to fetch products using the repository pattern instead of direct database queries.
Public Methods
- getProducts()