class LabelGenerateRequest extends FormRequest (View source)

Form request responsible for validating data when creating labels for books.

Ensures that the input contains a valid list of books with ISBN and copies.

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 error messages for validation failures.

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

Retrieve an input item from the request.

Details

bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool

true if the user is authorized

array rules()

Get the validation rules that apply to the request.

Return Value

array

array messages()

Get custom error messages for validation failures.

Return Value

array

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

Retrieve an input item from the request.

Parameters

string $key
mixed $default

Return Value

mixed