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 class when building category pages or implementing custom layered navigation features to retrieve the collection of products that belong to a category.

It implements the ItemCollectionProviderInterface to ensure consistent collection retrieval across different layer types.

Public Methods

  • getCollection()