PHP Class App\Http\Requests\Backend\NewsCreateRequest

Inheritance: extends App\Http\Requests\Request
Show file Open project: qloog/laravel5-backend Class Usage Examples

Public Methods

Method Description
authorize ( ) : boolean Determine if the user is authorized to make this request.
messages ( )
newsFillData ( ) Return the fields and values to create a new news from
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

messages() public method

public messages ( )

newsFillData() public method

Return the fields and values to create a new news from
public newsFillData ( )

rules() public method

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