Model
StoresData
Magento\Store\Model\StoresData
What it does
This class retrieves and caches active store IDs based on the application's run mode (e.g., store, website, or group) and scope code.
Developers use this when they need to determine which stores are available and which is the default store for a given context, with results cached for performance optimization.
Public Methods
- getStoresData()