Interface
StoreResolverInterface
Magento\Store\Api\StoreResolverInterface
What it does
This interface defines a contract for resolving the current store ID in a Magento 2 multi-store setup.
Developers would implement this interface to determine which store context the current request is operating in, though it's deprecated in favor of StoreManagerInterface.
The PARAM_NAME constant identifies the URL parameter used for store switching.
Public Methods
- getCurrentStoreId()