Log in
Model

ItemCollectionProvider

Magento\Catalog\Model\Layer\Category\ItemCollectionProvider

What it does

This class provides the product collection for a specific category in Magento's layered navigation system.

Developers use this when working with catalog layers to retrieve products that belong to a category, which is essential for category page displays and filtering operations.

It acts as a bridge between the layer resolver and the category's product collection.

Public Methods

  • getCollection()