PeriodSource
Magento\Quote\Model\Backpressure\Config\PeriodSource
What it does
This class provides a predefined list of time period options (minute, hour, day) for backpressure configuration in Magento's Quote module.
Developers use this as a data source for admin configuration dropdowns where time periods need to be selected, typically for rate limiting or throttling settings.
It implements OptionSourceInterface to standardize how period options are formatted and displayed.
Public Methods
- toOptionArray()