class BookUpdateRequest extends FormRequest (View source)

Handles validation for updating an existing book.

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()

Return custom validation messages in Portuguese.

void
prepareForValidation()

Prepare and sanitize input data before validation.

string
input(string $key, mixed $default)

No description

void
merge(array $input)

No description

mixed
route(string $key = null, mixed $default)

No description

Details

bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool

array rules()

Get the validation rules that apply to the request.

Return Value

array

array messages()

Return custom validation messages in Portuguese.

Return Value

array

protected void prepareForValidation()

Prepare and sanitize input data before validation.

Return Value

void

string input(string $key, mixed $default)

No description

Parameters

string $key
mixed $default

Return Value

string

void merge(array $input)

No description

Parameters

array $input

Return Value

void

mixed route(string $key = null, mixed $default)

No description

Parameters

string $key
mixed $default

Return Value

mixed