abstract class RemoveAnnotationPatches extends Job implements ShouldQueue

Traits

InteractsWithQueue
Queueable
Dispatchable

Properties

array $annotationIds

Map of the annotation ID to the image/video UUID of the annotation whose patch should be removed.

int $chunkSize

Number of annotations to start chunking of this job.

Methods

void
__construct(array $annotationIds, int $chunkSize = 100)

Create a new job instance.

void
handle()

Execute the job.

submitChunkedJobs()

Submit more instances of this job that should process smaller chunks.

deletePatches()

Delete the annotation patches.

Details

at line 38
void __construct(array $annotationIds, int $chunkSize = 100)

Create a new job instance.

Parameters

array $annotationIds
int $chunkSize

Return Value

void

at line 49
void handle()

Execute the job.

Return Value

void

at line 63
protected submitChunkedJobs()

Submit more instances of this job that should process smaller chunks.

at line 74
abstract protected deletePatches()

Delete the annotation patches.