protected function queryRulesWithoutSearch()
    {
        return collect($this->queryRules())->reject(function ($value, $key) {
            return Str::startsWith($key, ['filter.', 'sort.', 'page.']);
        })->all();
    }
protected function queryRulesWithoutSearch()
    {
        return collect($this->queryRules())->reject(function ($value, $key) {
            return Str::startsWith($key, ['filter.', 'sort.', 'page.']);
        })->all();
    }
protected function queryRulesWithoutSearch ( ) { return collect ( $ this -> queryRules ( ) ) -> reject ( function ( $ value , $ key ) { return Str :: startsWith ( $ key , [ 'filter.' , 'sort.' , 'page.' ] ) ; } ) -> all ( ) ; }
Get the validation rules for query parameters, excluding filter, sort and page.

@return array
Get the validation rules for query parameters excluding filter sort and page .