trait HandleNesting (View source)

Properties

protected string $reorderNestedModuleItemsJobQueue

The Laravel queue name to be used for the reordering operation.

Methods

TwillModelContract|null
forNestedSlug(string $nestedSlug, array $with = [], array $withCount = [], array $scopes = [])

No description

void
setNewOrder(array $ids)

No description

void
afterRestore(TwillModelContract $object)

No description

Details

TwillModelContract|null forNestedSlug(string $nestedSlug, array $with = [], array $withCount = [], array $scopes = [])

No description

Parameters

string $nestedSlug
array $with
array $withCount
array $scopes

Return Value

TwillModelContract|null

void setNewOrder(array $ids)

No description

Parameters

array $ids

Return Value

void

void afterRestore(TwillModelContract $object)

No description

Parameters

TwillModelContract $object

Return Value

void