Log in
Model

Flag

Magento\Reports\Model\Flag

What it does

This class manages flag codes for tracking the last execution time of various report aggregation processes in Magento 2.

Developers use it to set and store timestamps indicating when reports like orders, taxes, shipping, invoices, and product views were last aggregated, preventing duplicate processing and ensuring data consistency in the reporting system.

Public Methods

  • setReportFlagCode()