PHP Class Mage2\Catalog\Requests\ProductRequest

Inheritance: extends Illuminate\Foundation\Http\FormRequest
显示文件 Open project: mage2/laravel-ecommerce Class Usage Examples

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