Example #1
0
 public function run()
 {
     $category = Category::withRelations($this->relations)->findOrFail($this->categoryId);
     $category = $this->addChildren($category);
     return $category;
 }