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.

Return Value

bool

at line 37
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line 52
protected void prepareForValidation()

Prepare the data for validation.

Return Value

void

at line 91
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 109
protected bool rateLimitApplies()

Check if the rate limit of creating new requests applies.

Return Value

bool

at line 121
protected bool invalidLabels()

Check if the user attempts to use invalid labels for the request.

Return Value

bool