Model
UrlRewriteBunchReplacer
Magento\CatalogUrlRewrite\Model\UrlRewriteBunchReplacer
What it does
This class handles bulk replacement of URL rewrites for catalog entities by processing them in manageable batches.
Developers use this when updating or regenerating large numbers of product or category URLs to avoid memory issues and database timeouts.
It splits the URL rewrite array into chunks and processes each batch separately through the URL persistence layer.
Public Methods
- doBunchReplace()