Model
Job
Magento\CatalogRule\Model\Rule\Job
What it does
This class serves as a job handler for applying catalog price rules in Magento 2.
Developers use this when they need to trigger a full reindex of catalog rules, typically after bulk rule updates or administrative actions.
It marks the catalog rule indexer as invalid and returns success/error messages that can be displayed to users.
Public Methods
- applyAll()