Log in
Model

WebsiteDimensionProvider

Magento\Store\Model\Indexer\WebsiteDimensionProvider

What it does

This class provides website-based dimensions for Magento 2's multidimensional indexers.

Developers use it when implementing or working with indexers that need to process data separately for each website in a multi-website Magento installation.

It iterates through all non-admin websites and creates dimension objects that indexers can use to partition their data.

Public Methods

  • getIterator()