Log in
Model

DatabaseMapPool

Magento\CatalogUrlRewrite\Model\Map\DatabaseMapPool

What it does

This class manages a pool of database map instances for catalog URL rewrite operations, creating and caching them by instance name and category ID.

Developers use this when working with catalog URL rewrites to efficiently retrieve or reset database maps for specific categories, ensuring the same map instance is reused rather than recreated.

Public Methods

  • getDataMap()
  • resetMap()