Log in
Interface

RequestInfoFilterInterface

Magento\Checkout\Model\Cart\RequestInfoFilterInterface

What it does

This interface defines a contract for filtering shopping cart request data in Magento 2.

Developers implement this interface to create filters that sanitize or modify cart-related parameters before processing, such as removing sensitive data or validating product options.

It's typically used in a composite pattern to chain multiple filters together for comprehensive data sanitization.

Public Methods

  • filter()