public function removeProductTaxon(ProductTaxonInterface $productTaxon) { if ($this->hasProductTaxon($productTaxon)) { $this->productTaxons->removeElement($productTaxon); } }