StoreAnnotationAssistanceRequest
class StoreAnnotationAssistanceRequest extends FormRequest
Properties
ImageAnnotation | $annotation | The annotation to create the request for. |
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
prepareForValidation()
Prepare the data for validation.
void
withValidator(Validator $validator)
Configure the validator instance.
bool
rateLimitApplies()
Check if the rate limit of creating new requests applies.
bool
invalidLabels()
Check if the user attempts to use invalid labels for the request.
Details
at line 27
bool
authorize()
Determine if the user is authorized to make this request.
at line 37
array
rules()
Get the validation rules that apply to the request.
at line 52
protected void
prepareForValidation()
Prepare the data for validation.
at line 91
void
withValidator(Validator $validator)
Configure the validator instance.
at line 109
protected bool
rateLimitApplies()
Check if the rate limit of creating new requests applies.
at line 121
protected bool
invalidLabels()
Check if the user attempts to use invalid labels for the request.