@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3abstract class PhutilCalendarRecurrenceSource
4 extends Phobject {
5
6 private $isExceptionSource;
7 private $viewerTimezone;
8
9 public function setIsExceptionSource($is_exception_source) {
10 $this->isExceptionSource = $is_exception_source;
11 return $this;
12 }
13
14 public function getIsExceptionSource() {
15 return $this->isExceptionSource;
16 }
17
18 public function setViewerTimezone($viewer_timezone) {
19 $this->viewerTimezone = $viewer_timezone;
20 return $this;
21 }
22
23 public function getViewerTimezone() {
24 return $this->viewerTimezone;
25 }
26
27 public function resetSource() {
28 return;
29 }
30
31 abstract public function getNextEvent($cursor);
32
33
34}