Model
Resolver
Magento\Customer\Model\Group\Resolver
What it does
This class provides a lightweight service to retrieve a customer's group ID based on their customer ID.
Developers use this when they need to quickly determine which customer group a customer belongs to, which is essential for applying group-specific pricing, discounts, or access rules.
It acts as a simple wrapper around the resource model to keep the logic clean and maintainable.
Public Methods
- resolve()