Model
DataProductHashMap
Magento\CatalogUrlRewrite\Model\Map\DataProductHashMap
What it does
This class manages a hash map of product IDs that belong to a specific category and all its subcategories.
Developers use it when working with URL rewrites to efficiently retrieve and cache all visible products associated with a category hierarchy, avoiding redundant database queries during URL generation processes.
Public Methods
- getAllData()
- getData()
- resetData()
- _resetState()