class SendCodeRequest extends FormRequest (View source)

Custom request for sending a password recovery code.

Methods

bool
authorize()

Determine if the user is authorized to make this request.

array
rules()

Get the validation rules that apply to the request.

array
messages()

Get custom messages for validator errors.

Store
session()

Provides access to the session instance.

Details

bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool

always true since this request does not require authentication

array rules()

Get the validation rules that apply to the request.

Return Value

array

validation rules for the email field

array messages()

Get custom messages for validator errors.

Return Value

array

custom validation messages

Store session()

Provides access to the session instance.

Return Value

Store