Log in
Repository

GroupRepositoryInterface

Magento\Store\Api\GroupRepositoryInterface

What it does

This interface defines the contract for managing Store Groups in Magento 2.

Developers use it to retrieve individual store groups by ID, get a list of all store groups, or clear cached group data.

It's commonly used when working with multi-store setups to access or manage store group configurations programmatically.

Public Methods

  • get()
  • getList()
  • clean()