MetaFox

SuggestionRequest extends FormRequest
in package
Uses InputCleanerTrait

Class SearchSuggestionRequest.

Table of Contents

Constants

SEARCH_SUGGESTION_LIMIT  = 10

Methods

cleanContent()  : string|null
cleanTitle()  : string|null
rules()  : array<string, mixed>
Get the validation rules that apply to the request.
validated()  : mixed

Constants

Methods

cleanContent()

public cleanContent(string|null $string) : string|null
Parameters
$string : string|null
Return values
string|null

cleanTitle()

public cleanTitle(string|null $string) : string|null
Parameters
$string : string|null
Return values
string|null

rules()

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

        
On this page

Search results