abstract class 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

at line 14
saved(Annotation $annotation)

Handle the event of creating/saving a single annotation.

Parameters

Annotation $annotation

at line 27
bool deleting(Annotation $annotation)

Handle the event of deleting a single annotation.

Parameters

Annotation $annotation

Return Value

bool

at line 42
abstract protected PendingDispatch getSavedDispatch(Annotation $annotation)

Get the dispatched job on a saved event.

Parameters

Annotation $annotation

Return Value

PendingDispatch

at line 51
abstract protected PendingDispatch getDeletingDispatch(Annotation $annotation)

Get the dispatched job on a deleting event.

Parameters

Annotation $annotation

Return Value

PendingDispatch