Documentation for recurrence in createAppointment
Antoine81 opened this issue · comments
Hello,
Can you just give me an example to use the method "createAppointment" with recurrences rules ?
It will be kind.
Thank you.
Hello,
I still looking for documentation to use recurrence in createAppointment.
Actually I do this ( doen't work ) :
$simple = new SimpleRepeatingRule(Frequency::DAY);
$until = new DateTimeStringAttr('20170903T215959Z');
$interval = new IntervalRule(1);
$simple->setUntil($until)
->setInterval($interval);
$recur = new RecurrenceInfo($simple->toArray());
$comp->setRecurrence($recur);