class StoreVideoAnnotation extends FormRequest

Properties

Video $video

The video on which the annotation should be created.

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.

bool
shouldTrack()

Determine if the new annotation should be tracked.

bool
annotationContained()

Check if the point or circle annotation is fully contained by the video.

Details

at line 23
bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool

at line 35
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line 56
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 110
bool shouldTrack()

Determine if the new annotation should be tracked.

Return Value

bool

at line 120
protected bool annotationContained()

Check if the point or circle annotation is fully contained by the video.

Return Value

bool