Model
IndexNameBuilder
Magento\InventoryMultiDimensionalIndexerApi\Model\IndexNameBuilder
What it does
This builder class simplifies the creation of IndexName objects for multi-dimensional inventory indexers.
Developers use it to programmatically construct index names by setting an index ID, adding dimensions (like stock or website), and optionally setting an alias before calling build() to get the final IndexName instance.
Public Methods
- setIndexId()
- addDimension()
- setAlias()
- build()