src/Model/Behavior/FilterableBehavior.php
public function findFilter(Query $query, array $options)
    {
        foreach ($this->filters()->collection() as $name => $filter) {
            $filter->apply($query, $options);
        }

        return $query;
    }
public function findFilter(Query $query, array $options)
    {
        foreach ($this->filters()->collection() as $name => $filter) {
            $filter->apply($query, $options);
        }

        return $query;
    }
public function findFilter ( Query $ query , array $ options ) { foreach ( $ this -> filters ( ) -> collection ( ) as $ name => $ filter ) { $ filter -> apply ( $ query , $ options ) ; } return $ query ; }
Results for this finder will be query filtered by search parameters

@param \Cake\ORM\Query $query   Query.
@param array $options Array of options as described above.
@return \Cake\ORM\Query
Results for this finder will be query filtered by search parameters