Log in
Model

RequestInfoFilterComposite

Magento\Checkout\Model\Cart\RequestInfoFilterComposite

What it does

This class implements the Composite design pattern to manage multiple request information filters for cart operations.

Developers use it to filter and sanitize product request parameters before adding items to the cart.

It sequentially applies all registered filters to the request data, ensuring data validation and transformation through a unified interface.

Public Methods

  • filter()