PHP Class Learner\Http\Requests\UpdateAccountRequest

Inheritance: extends Learner\Http\Requests\Request
显示文件 Open project: RryLee/learner.video Class Usage Examples

Public Methods

Method Description
attributes ( ) : array Change attributes display name.
authorize ( ) : boolean Determine if the user is authorized to make this request.
rules ( ) : array Get the validation rules that apply to the request.

Method Details

attributes() public method

Change attributes display name.
public attributes ( ) : array
return array

authorize() public method

Determine if the user is authorized to make this request.
public authorize ( ) : boolean
return boolean

rules() public method

Get the validation rules that apply to the request.
public rules ( ) : array
return array