UpdateTrainingProposal
class UpdateTrainingProposal extends FormRequest
Properties
| TrainingProposal | $proposal | The training proposal to update |
Methods
bool
authorize()
Determine if the user is authorized to make this request.
array
rules()
Get the validation rules that apply to the request.
void
withValidator(Validator $validator)
Configure the validator instance.
maybeRestrictUpdating(Validator $validator)
Do not allow updating of training proposals if the MAIA job is running object detection or is finished.
Details
at line 24
bool
authorize()
Determine if the user is authorized to make this request.
at line 36
array
rules()
Get the validation rules that apply to the request.
at line 54
void
withValidator(Validator $validator)
Configure the validator instance.
at line 67
protected
maybeRestrictUpdating(Validator $validator)
Do not allow updating of training proposals if the MAIA job is running object detection or is finished.