public function removePromotion(PromotionInterface $promotion) { if ($this->hasPromotion($promotion)) { $this->promotions->removeElement($promotion); } }