/** * @param Category $category * @return Category */ public function add(Category $category) { $this->repository->add($category); return $category; }