Example #1
0
 public function setCategory(Category $category)
 {
     $category->addCategoryContent($this);
     $this->category = $category;
 }