Log in
Model

ScopeResolver

Magento\Store\Model\ScopeResolver

What it does

This class determines whether one Magento scope (store view, website, or global) belongs to or is a child of another scope in the hierarchy.

Developers use this when they need to check scope relationships, such as verifying if a store view belongs to a specific website or if a configuration applies to a given scope level.

Public Methods

  • isBelongsToScope()