Log in
Model

ReadHandler

Magento\SalesRule\Model\ResourceModel\ReadHandler

What it does

This class handles reading and loading additional sales rule data from the database when a sales rule entity is retrieved.

It enriches the rule entity with related customer group IDs and website IDs that the rule applies to.

Developers typically don't interact with this class directly as it's automatically invoked by Magento's entity manager during sales rule loading operations.

Public Methods

  • execute()