<?phpnamespaceApp\Http\Requests\tomat;useIlluminate\Foundation\Http\FormRequest;classUpdateRequestextendsFormRequest{/** * Determine if the user is authorized to make this request. * * @return bool */publicfunctionauthorize(){returnfalse;}/** * Get the validation rules that apply to the request. * * @return array */publicfunctionrules(){return[//];}}