StoreRequest
extends FormRequest
in package
Class StoreRequest.
Table of Contents
Methods
- rules() : array<string, mixed>
- Get the validation rules that apply to the request.
- validated() : array<string|int, mixed>
Methods
rules()
Get the validation rules that apply to the request.
public
rules() : array<string, mixed>
Return values
array<string, mixed>validated()
public
validated([mixed $key = null ][, mixed $default = null ]) : array<string|int, mixed>
Parameters
- $key : mixed = null
- $default : mixed = null