\App\Http\RequestsGuardRequest

Summary

Methods
Properties
Constants
authorize()
rules()
attributes()
messages()
guardName()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

authorize()

authorize() : boolean

Determine if the user is authorized to make this request.

Returns

boolean

rules()

rules() : array

Get the validation rules that apply to the request.

Returns

array

attributes()

attributes() : array

获取验证错误的自定义属性。

Returns

array

messages()

messages() : array

获取已定义验证规则的错误消息。

Returns

array

guardName()

guardName() : string

获取 gurad Class

Returns

string