RequestInfoFilterInterface
Magento\Checkout\Model\Cart\RequestInfoFilterInterface
What it does
This interface defines a contract for filtering shopping cart request data before processing.
Developers implement this interface to create custom filters that sanitize or validate cart-related parameters passed through requests, using a composite or leaf pattern approach.
It's commonly used to ensure cart data integrity and security by removing or modifying unwanted parameters.
Public Methods
- filter()