/** * Remove payment * * @param \Corvus\EventBundle\Entity\Payment $payment */ public function removePayment(\Corvus\EventBundle\Entity\Payment $payment) { $this->payments->removeElement($payment); }