Log in
Model

HashMapPool

Magento\CatalogUrlRewrite\Model\Map\HashMapPool

What it does

This class manages a pool of hash map instances used during URL rewrite generation for catalog categories.

Developers use it to retrieve and cache hash map objects that store URL rewrite data for specific categories, avoiding redundant object creation.

It provides methods to get or reset cached maps based on instance name and category ID.

Public Methods

  • getDataMap()
  • resetMap()