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