class RemoveImageAnnotationPatches extends RemoveAnnotationPatches

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.

from  RemoveAnnotationPatches
int $chunkSize

Number of annotations to start chunking of this job.

from  RemoveAnnotationPatches

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

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

Create a new job instance.

Parameters

array $annotationIds
int $chunkSize

Return Value

void

void handle()

Execute the job.

Return Value

void

protected submitChunkedJobs()

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

at line 12
protected deletePatches()

Delete the annotation patches.