Log in
Interface

StoreWebsiteRelationInterface

Magento\Store\Api\StoreWebsiteRelationInterface

What it does

This interface defines a contract for retrieving store information associated with a specific website ID in Magento's multi-store architecture.

Developers would use implementations of this interface when they need to fetch all stores that belong to a particular website, which is useful for managing store-level configurations, product visibility, or customer data within a website scope.

Public Methods

  • getStoreByWebsiteId()