public function multiFilterBy($columns)
    {
        foreach ($columns as $column => $value) {
            if (strpos($column, '.')) {
                $this->filterByRelation($column, $value);
            } else {
                $this->filterBy($column, $value);
            }
        }

        return $this;
    }
public function multiFilterBy($columns)
    {
        foreach ($columns as $column => $value) {
            if (strpos($column, '.')) {
                $this->filterByRelation($column, $value);
            } else {
                $this->filterBy($column, $value);
            }
        }

        return $this;
    }
public function multiFilterBy ( $ columns ) { foreach ( $ columns as $ column => $ value ) { if ( strpos ( $ column , '.' ) ) { $ this -> filterByRelation ( $ column , $ value ) ; } else { $ this -> filterBy ( $ column , $ value ) ; } } return $ this ; }
Append many column filters to query builder.

@param array $columns

@return $this
Append many column filters to query builder .