LazyChaser Laravel-Nestedset mendapatkan pohon

CategoryModel::all()->toTree()->toArray();
Shadow