SuggestionRequest
        
        extends FormRequest
    
    
            
            in package
            
        
    
    
            
            Uses
                            InputCleanerTrait                    
    
Class SearchSuggestionRequest.
Table of Contents
Constants
Methods
- cleanContent() : string|null
 - cleanTitle() : string|null
 - rules() : array<string, mixed>
 - Get the validation rules that apply to the request.
 - validated() : mixed
 
Constants
SEARCH_SUGGESTION_LIMIT
    public
        mixed
    SEARCH_SUGGESTION_LIMIT
    = 10
    
    
    
Methods
cleanContent()
    public
                    cleanContent(string|null $string) : string|null
    Parameters
- $string : string|null
 
Return values
string|nullcleanTitle()
    public
                    cleanTitle(string|null $string) : string|null
    Parameters
- $string : string|null
 
Return values
string|nullrules()
Get the validation rules that apply to the request.
    public
                    rules() : array<string, mixed>
    Return values
array<string, mixed>validated()
    public
                    validated([mixed $key = null ][, mixed $default = null ]) : mixed
    Parameters
- $key : mixed = null
 - $default : mixed = null