Model
GetVisibleForStores
Magento\CatalogUrlRewrite\Model\GetVisibleForStores
What it does
This class determines which store views a product is visible in by checking the product's visibility attribute across different stores.
Developers use this when generating URL rewrites to ensure URLs are only created for stores where the product is actually visible to customers, avoiding unnecessary or broken URLs.
Public Methods
- execute()