Log in
Model

Store

Magento\Store\Model\StoreResolver\Store

What it does

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

Developers use it when they need to determine which stores are active and accessible, or to get the default store ID for a specific scope.

It's commonly used in multi-store environments to validate store access and routing.

Public Methods

  • getAllowedStoreIds()
  • getDefaultStoreId()