Log in
Model

PeriodSource

Magento\Quote\Model\Backpressure\Config\PeriodSource

What it does

This class provides time period options for backpressure configuration in the Quote module.

It returns an array of predefined time periods (minute, hour, day) with their corresponding values in seconds, which can be used in admin configuration dropdowns or form selects to limit quote-related operations over specific time intervals.

Public Methods

  • toOptionArray()