/**
  * Updates the given category object
  *
  * @param \Lelesys\Plugin\News\Domain\Model\Category $category The category to update
  * @return void
  */
 public function update(\Lelesys\Plugin\News\Domain\Model\Category $category)
 {
     $category->setUpdatedDate(new \DateTime());
     $this->categoryRepository->update($category);
     $this->emitCategoryUpdated($category);
 }