ProductUrlRewriteGenerator
Magento\CatalogUrlRewrite\Model\ProductUrlRewriteGenerator
What it does
This class generates URL rewrites for products in Magento 2, creating SEO-friendly URLs that map to product pages.
Developers use this when products are saved or updated to automatically create proper URLs for different store views and category contexts.
It handles both global scope and store-specific URL generation, delegating the actual work to specialized generator classes.
Public Methods
- generate()