private function applyFilters(array $settings): array
    {
        $where = [];
        foreach ($settings as $column => $filters) {
            foreach ($filters as $filter => $value) {
                if ($filter === Grid\Grid::FILTER_LIKE) {
                    $value = '%' . $value . '%';
                }
                $where[] = $column . ' ' .
                    $this->filters[$filter] . ' ' .
                    Proxy\Db::quote((string)$value);
            }
        }
        return $where;
    }
private function applyFilters(array $settings): array
    {
        $where = [];
        foreach ($settings as $column => $filters) {
            foreach ($filters as $filter => $value) {
                if ($filter === Grid\Grid::FILTER_LIKE) {
                    $value = '%' . $value . '%';
                }
                $where[] = $column . ' ' .
                    $this->filters[$filter] . ' ' .
                    Proxy\Db::quote((string)$value);
            }
        }
        return $where;
    }
private function applyFilters ( array $ settings ) : array { $ where = [ ] ; foreach ( $ settings as $ column => $ filters ) { foreach ( $ filters as $ filter => $ value ) { if ( $ filter === Grid \ Grid :: FILTER_LIKE ) { $ value = '%' . $ value . '%' ; } $ where [ ] = $ column . ' ' . $ this -> filters [ $ filter ] . ' ' . Proxy \ Db :: quote ( ( string ) $ value ) ; } } return $ where ; }
Apply filters to SQL query

@param  array[] $settings

@return array
Apply filters to SQL query