Exemplo n.º 1
0
 public function __construct(User $reservationOwner, User $participant, ReservationSeries $reservationSeries, IAttributeRepository $attributeRepository)
 {
     parent::__construct($reservationOwner, $reservationSeries, $participant->Language(), $attributeRepository);
     $this->reservationOwner = $reservationOwner;
     $this->reservationSeries = $reservationSeries;
     $this->timezone = $participant->Timezone();
     $this->participant = $participant;
 }
Exemplo n.º 2
0
 public function __construct(User $reservationOwner, User $invitee, ReservationSeries $reservationSeries, IAttributeRepository $attributeRepository)
 {
     parent::__construct($reservationOwner, $reservationSeries, $invitee->Language(), $attributeRepository);
     $this->reservationOwner = $reservationOwner;
     $this->reservationSeries = $reservationSeries;
     $this->timezone = $invitee->Timezone();
     $this->invitee = $invitee;
 }