Model
Website
Magento\Store\Model\StoreResolver\Website
What it does
This class resolves store information at the website scope level in Magento 2.
Developers use it to retrieve all active store IDs associated with a specific website and to determine the default store ID for a given website.
It's commonly used in multi-store setups when you need to work with stores within a particular website context.
Public Methods
- getAllowedStoreIds()
- getDefaultStoreId()