abstract class Request extends FormRequest (View source)

Methods

bool
authorize()

Determines if the user is authorized to make this request.

array
rules()

Gets the validation rules that apply to the request.

array
rulesForTranslatedFields($rules, $fields)

Gets the validation rules that apply to the translated fields.

array
messagesForTranslatedFields(array $messages, array $fields)

Gets the error messages for the defined validation rules.

Details

bool authorize()

Determines if the user is authorized to make this request.

Return Value

bool

array rules()

Gets the validation rules that apply to the request.

Return Value

array

protected array rulesForTranslatedFields($rules, $fields)

Gets the validation rules that apply to the translated fields.

Parameters

$rules
$fields

Return Value

array

protected array messagesForTranslatedFields(array $messages, array $fields)

Gets the error messages for the defined validation rules.

Parameters

array $messages
array $fields

Return Value

array