Model
Resolver
Magento\Customer\Model\ResourceModel\Group\Resolver
What it does
This class retrieves a customer's group ID directly from the database using their customer ID.
Developers use this when they need to quickly determine which customer group a specific customer belongs to without loading the full customer entity, making it more performant for group-specific logic like pricing or discounts.
Public Methods
- resolve()