Model
Group
Magento\Store\Model\ResourceModel\Group
What it does
This resource model manages database operations for store groups in Magento 2.
Developers use this class when creating, updating, or querying store group data, particularly when working with multi-store setups.
It handles relationships between store groups, websites, and stores, ensuring data integrity when changes are made to the store hierarchy.
Public Methods
- countAll()