CategoryBasedProductRewriteGenerator
Magento\CatalogUrlRewrite\Model\CategoryBasedProductRewriteGenerator
What it does
This class generates URL rewrites for products based on their category associations.
Developers use it when a product needs category-specific URLs created or regenerated, such as during product save operations or category assignments.
It automatically skips products with 'Not Visible Individually' visibility and delegates the actual URL generation to the ProductScopeRewriteGenerator based on store scope.
Public Methods
- generate()