Log in
Model

GetStoresListByWebsiteIds

Magento\Store\Model\StoreResolver\GetStoresListByWebsiteIds

What it does

This class retrieves a list of store IDs associated with given website IDs in Magento's multi-store setup.

Developers would use this when they need to find all stores belonging to specific websites, such as when filtering data or applying operations across multiple stores within selected websites.

Public Methods

  • execute()