class RemoveAnnotationPatches extendsJob implementsShouldQueue

Traits

InteractsWithQueue
Queueable
Dispatchable

Properties

array $annotationIds Map of the annotation ID to the image ID 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 line37
void __construct(array$annotationIds,int$chunkSize =100)

Create a new job instance.

Parameters

array $annotationIds
int $chunkSize

Return Value

void

at line48
void handle()

Execute the job.

Return Value

void

at line62
protected submitChunkedJobs()

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

at line73
protected deletePatches()

Delete the annotation patches.