class StoreAnnotationAssistanceRequest extendsFormRequest

Properties

Annotation $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 line27
bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool

at line37
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line52
protectedvoid prepareForValidation()

Prepare the data for validation.

Return Value

void

at line91
void withValidator(Validator$validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line109
protectedbool rateLimitApplies()

Check if the rate limit of creating new requests applies.

Return Value

bool

at line121
protectedbool invalidLabels()

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

Return Value

bool