PHP Class Socieboy\Forum\Requests\DeleteReplyRequest

Inheritance: extends App\Http\Requests\Request
Show file Open project: socieboy/forum

Public Methods

Method Description
authorize ( ReplyRepo $replyRepo ) : boolean Determine if the user is authorized to make this request.
rules ( ) : array Get the validation rules that apply to the request.

Method Details

authorize() public method

Determine if the user is authorized to make this request.
public authorize ( ReplyRepo $replyRepo ) : boolean
$replyRepo Socieboy\Forum\Entities\Replies\ReplyRepo
return boolean

rules() public method

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