@php $containerKey = 'filament_tree_container_' . $this->getId(); $maxDepth = $getMaxDepth() ?? 1; $records = collect($this->getRootLayerRecords() ?? []); @endphp