ConditionInterface
Magento\Catalog\Model\Product\Condition\ConditionInterface
What it does
This interface defines a contract for applying filtering conditions to product collections in Magento 2.
Developers implement this interface when creating custom product filters or selection criteria that need to work with both collection objects and raw database queries.
It's commonly used in product widgets, catalog rules, and custom product listing features where specific product conditions must be applied.
Public Methods
- applyToCollection()
- getIdsSelect()