Log in
Interface

StoreResolverInterface

Magento\Store\Api\StoreResolverInterface

What it does

This interface defines a contract for resolving the current store ID in a Magento multi-store environment.

Developers would use implementations of this interface when they need to determine which store context the current request is operating in.

Note that this interface is deprecated and developers should use StoreManagerInterface instead for store-related operations.

Public Methods

  • getCurrentStoreId()