class VideoAnnotationObserver extends AnnotationObserver

Methods

saved(Annotation $annotation)

Handle the event of creating/saving a single annotation.

bool
deleting(Annotation $annotation)

Handle the event of deleting a single annotation.

PendingDispatch
getSavedDispatch(Annotation $annotation)

Get the dispatched job on a saved event.

PendingDispatch
getDeletingDispatch(Annotation $annotation)

Get the dispatched job on a deleting event.

Details

in AnnotationObserver at line 14
saved(Annotation $annotation)

Handle the event of creating/saving a single annotation.

Parameters

Annotation $annotation

in AnnotationObserver at line 27
bool deleting(Annotation $annotation)

Handle the event of deleting a single annotation.

Parameters

Annotation $annotation

Return Value

bool

at line 14
protected PendingDispatch getSavedDispatch(Annotation $annotation)

Get the dispatched job on a saved event.

Parameters

Annotation $annotation

Return Value

PendingDispatch

at line 22
protected PendingDispatch getDeletingDispatch(Annotation $annotation)

Get the dispatched job on a deleting event.

Parameters

Annotation $annotation

Return Value

PendingDispatch