StoreVideoAnnotation
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.
at line 35
array
rules()
Get the validation rules that apply to the request.
at line 56
void
withValidator(Validator $validator)
Configure the validator instance.
at line 98
bool
shouldTrack()
Determine if the new annotation should be tracked.
at line 108
protected bool
annotationContained()
Check if the point or circle annotation is fully contained by the video.