Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RegularFilter.php
Go to the documentation of this file.
1 <?php
8 
11 
16 {
24  public function apply(Collection $collection, Filter $filter)
25  {
26  $collection->addFieldToFilter($filter->getField(), [$filter->getConditionType() => $filter->getValue()]);
27  }
28 }