Exemplo n.º 1
0
 /**
  * Removes a Person
  *
  * @param \CPSIT\T3eventsReservation\Domain\Model\Person $participantToRemove The Person to be removed
  * @return void
  */
 public function removeParticipant(Person $participantToRemove)
 {
     $this->participants->detach($participantToRemove);
     $this->updateTotalPrice();
 }
 /**
  * Removes a Participant
  *
  * @param \CPSIT\T3eventsReservation\Domain\Model\Person $participantToRemove The Participant to be removed
  * @return void
  */
 public function removeParticipant(Person $participantToRemove)
 {
     $this->participants->detach($participantToRemove);
 }