Group\Collection
Magento\Customer\Model\ResourceModel\Group\Collection
What it does
This collection class is used to retrieve and manipulate sets of customer groups from the database.
Developers use it when they need to display customer group lists in forms, filter groups by specific criteria (like excluding certain IDs or getting only real groups), or when building options arrays for dropdowns.
It provides convenient methods to join tax class data and convert the collection into formats suitable for UI components.
Public Methods
- setIgnoreIdFilter()
- setRealGroupsFilter()
- addTaxClass()
- toOptionArray()
- toOptionHash()