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() : mixed
- handleFriendRule() : 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 ]) : mixed
Parameters
- $key : mixed = null
- $default : mixed = null
handleFriendRule()
protected
handleFriendRule(array<string|int, mixed> &$rules) : array<string|int, mixed>
Parameters
- $rules : array<string|int, mixed>