Log in
Model

Resolver

Magento\Customer\Model\ResourceModel\Group\Resolver

What it does

This resource model retrieves a customer's group ID directly from the database by customer ID.

Developers use this class when they need to quickly resolve which customer group a specific customer belongs to without loading the full customer object, making it more efficient for operations that only need the group ID.

Public Methods

  • resolve()