/** * Update the given category with new titles. * * @param Category $category * @return Category */ private function updateCategory($category) { return $this->catRepo->attachByQuery($category->id, $category->query, $category->limit); }
/** * Update the given category with new titles. * * @param Category $category * @return Category */ private function updateCategory($category) { return $this->catRepo->attachByQuery($category->id, $category->query, $category->limit); }