src/Service/Search.php
private function applyFilters() : void
    {
        foreach ($this->criteria as $criteria) {
            $filterClass = $criteria->getOperator();

            $filter = new $filterClass(
                $this->table->aliasField($criteria->getField()),
                $criteria->getValue()
            );

            $filter->apply($this->query);
        }
    }
private function applyFilters() : void
    {
        foreach ($this->criteria as $criteria) {
            $filterClass = $criteria->getOperator();

            $filter = new $filterClass(
                $this->table->aliasField($criteria->getField()),
                $criteria->getValue()
            );

            $filter->apply($this->query);
        }
    }
private function applyFilters ( ) : void { foreach ( $ this -> criteria as $ criteria ) { $ filterClass = $ criteria -> getOperator ( ) ; $ filter = new $ filterClass ( $ this -> table -> aliasField ( $ criteria -> getField ( ) ) , $ criteria -> getValue ( ) ) ; $ filter -> apply ( $ this -> query ) ; } }
Applies filters to the Query.

@return void
Applies filters to the Query .