Log in
Model

Store

Magento\Store\Model\Resolver\Store

What it does

This class resolves and retrieves store scope objects in Magento 2.

Developers use it when they need to get a specific store instance by ID or retrieve all available stores in the system.

It acts as a wrapper around StoreManager, implementing the ScopeResolverInterface to provide standardized scope resolution.

Public Methods

  • getScope()
  • getScopes()