Log in
Model

GroupRepository

Magento\Store\Model\GroupRepository

What it does

This repository class manages store groups in Magento 2, providing methods to retrieve individual groups or lists of all groups.

Developers use it to fetch store group data programmatically, typically when working with multi-store configurations or needing to access group-level settings.

It implements caching to optimize performance by storing loaded groups in memory.

Public Methods

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