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 the cached group entities.

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

Public Methods

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