/** * {@inheritdoc} */ public function removeProduct(ProductInterface $product) { $this->products->removeElement($product); return $this; }
/** * {@inheritdoc} */ public function removeAssociatedProduct(ProductInterface $product) { if ($this->hasAssociatedProduct($product)) { $this->associatedProducts->removeElement($product); } }