class RebuildCollectionTree implements ShouldQueue (View source)

Traits

Dispatchable
InteractsWithQueue
Queueable
SerializesModels

Properties

protected $tries
protected array $newTree

The new collection tree structure.

protected array $currentTree

The current collection tree.

protected null|int|string $parent

The collection parent for sub tree rebuilding.

Methods

__construct(array $newTree, array $currentTree, Collection $parent = null)

Create a new job instance.

handle()

No description

Details

__construct(array $newTree, array $currentTree, Collection $parent = null)

Create a new job instance.

Parameters

array $newTree
array $currentTree
Collection $parent

handle()

No description