original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Apply filters to SQL query
  
  @param  array[] $settings
  
  @return array
docstring_tokens: Apply filters to SQL query