public function removeProductCategory(\Eccube\Entity\ProductCategory $productCategories) { $this->ProductCategories->removeElement($productCategories); }