Log in
Model

LimitValue

Magento\Quote\Model\Backpressure\Config\LimitValue

What it does

This class validates the backpressure limit configuration value in Magento's Quote module before it's saved to the database.

Developers would encounter this when setting up or modifying backpressure controls for quote operations, ensuring that only positive integers (greater than 0) are allowed as limit values.

It automatically prevents invalid configuration that could break the backpressure system.

Public Methods

  • beforeSave()