Interface
StoreWebsiteRelationInterface
Magento\Store\Api\StoreWebsiteRelationInterface
What it does
This interface defines a contract for retrieving store information based on website ID.
Developers use this when they need to get all stores assigned to a specific website in a multi-website Magento setup.
It's commonly used in scenarios where you need to determine which stores belong to a particular website for configuration, data filtering, or scope-based operations.
Public Methods
- getStoreByWebsiteId()