Log in
Model

Group

Magento\Store\Model\Resolver\Group

What it does

This class resolves store groups (collections of stores within a website) in Magento 2's scope hierarchy.

Developers use it to retrieve specific store groups by ID or get all available store groups, typically when working with multi-store configurations or scope-aware functionality that needs to operate at the group level.

Public Methods

  • getScope()
  • getScopes()