public function addInvitations(Invitation $invitation) { $this->invitations[] = $invitation; $invitation->setGuest($this); }