| Methods | ||
|---|---|---|
public
static
|
getTree(int|null $depth = null): Collection
|
# |
public
static
|
getTreeDepth(): int
|
# |
public
|
scopeWhereIsRoot(Builder $query, bool $bool = true): void
|
# |
public
|
scopeOnlyRoots(Builder $query): void
|
# |
public
|
scopeWithoutRoots(Builder $query): void
|
# |
public
|
isRoot(): bool
|
# |
public
|
deleteNode(): bool|null
|
# |
public
|
deleteTree(): int
|
# |
public
|
graft(static $newChild): $this
|
# |
public
|
graftOnto(static $newParent): $this
|
# |
public
|
cut(): $this
|
# |