UpdateImageAnnotation
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.
at line 36
array
rules()
Get the validation rules that apply to the request.
at line 50
void
withValidator(Validator $validator)
Configure the validator instance.
at line 79
array
getPoints()
Get the new points of the annotation.
at line 87
int
getShapeId()
Get the new shape ID of the annotation.