public removeCategory ( Elcodi\Component\Product\Entity\Interfaces\CategoryInterface $category ) | ||
$category | Elcodi\Component\Product\Entity\Interfaces\CategoryInterface | Category |
public function removeCategory(CategoryInterface $category)
{
$this->categories->removeElement($category);
return $this;
}