BookUpdateRequest
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.
array
rules()
Get the validation rules that apply to the request.
array
messages()
Return custom validation messages in Portuguese.
protected 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