Log in
Model

Store

Magento\Store\Model\StoreResolver\Store

What it does

This class resolves store-related information by retrieving allowed store IDs and default store IDs based on scope codes.

Developers use this when they need to determine which stores are active and accessible, or to get a specific store's ID from its code, typically during store context resolution or multi-store operations.

Public Methods

  • getAllowedStoreIds()
  • getDefaultStoreId()