/** * Adds a Person * * @param \CPSIT\T3eventsReservation\Domain\Model\Person $participant * @return void */ public function addParticipant(Person $participant) { $this->participants->attach($participant); $this->updateTotalPrice(); }
/** * Adds a Participant * * @param \CPSIT\T3eventsReservation\Domain\Model\Person $participant * @return void */ public function addParticipant(Person $participant) { $this->participants->attach($participant); }