class Dissociate implements ShouldQueue (View source)

Traits

Dispatchable
InteractsWithQueue
Queueable
SerializesModels

Properties

protected $tries
protected mixed $targets

The product or collection of products to be associated.

protected $product

The parent product instance.

protected string $type

The SKU for the generated variant.

Methods

__construct(Product $product, mixed $targets, string $type = null)

Create a new job instance.

void
handle()

Execute the job.

Details

__construct(Product $product, mixed $targets, string $type = null)

Create a new job instance.

Parameters

Product $product
mixed $targets
string $type

void handle()

Execute the job.

Return Value

void