PHP Class Socieboy\Forum\Requests\CorrectAnswerRequest

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

Public Methods

Method Description
authorize ( Illuminate\Contracts\Auth\Guard $auth ) : 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 ( Illuminate\Contracts\Auth\Guard $auth ) : boolean
$auth Illuminate\Contracts\Auth\Guard
return boolean

rules() public method

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