class UpdateImageAnnotation extends FormRequest

Properties

ImageAnnotation $annotation

The annotation that should be updated.

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.

array
getPoints()

Get the new points of the annotation.

int
getShapeId()

Get the new shape ID of the annotation.

Details

at line 24
bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool

at line 36
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line 50
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 79
array getPoints()

Get the new points of the annotation.

Return Value

array

at line 87
int getShapeId()

Get the new shape ID of the annotation.

Return Value

int