PHP Class App\Http\Requests\SettingRequests\AuthRequest

Inheritance: extends App\Http\Requests\Request
Show file Open project: forehalo/materialize-blog Class Usage Examples

Protected Properties

Property Type Description
$redirect

Public Methods

Method Description
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

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

Property Details

$redirect protected property

protected $redirect