diff --git a/calendar/classes/local/event/value_objects/event_times.php b/calendar/classes/local/event/value_objects/event_times.php index f864069bb37..2617133ce9f 100644 --- a/calendar/classes/local/event/value_objects/event_times.php +++ b/calendar/classes/local/event/value_objects/event_times.php @@ -50,6 +50,11 @@ class event_times implements times_interface { */ protected $sort; + /** + * @var \DateTimeImmutable $modified Time event was last modified. + */ + protected $modified; + /** * Constructor. * diff --git a/calendar/classes/local/interfaces/times_interface.php b/calendar/classes/local/interfaces/times_interface.php index fdbf937acd6..4d8000c97fb 100644 --- a/calendar/classes/local/interfaces/times_interface.php +++ b/calendar/classes/local/interfaces/times_interface.php @@ -60,4 +60,11 @@ interface times_interface { * @return \DateTimeImmutable */ public function get_sort_time(); + + /** + * Get the modified time. + * + * @return \DateTimeImmutable + */ + public function get_modified_time(); }