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.

Shape
getShape()

Get the new shape of the annotation.

Details

at line 25
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 51
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 80
array getPoints()

Get the new points of the annotation.

Return Value

array

at line 88
Shape getShape()

Get the new shape of the annotation.

Return Value

Shape