MDL-57442 core_calendar: Add missing method to times interface

Also adds a missing member to event_times implementation.

Part of MDL-55611 epic.
This commit is contained in:
Cameron Ball
2017-04-03 11:36:07 +08:00
committed by Damyon Wiese
parent 3e1c027532
commit 4c19dc323a
2 changed files with 12 additions and 0 deletions
@@ -50,6 +50,11 @@ class event_times implements times_interface {
*/
protected $sort;
/**
* @var \DateTimeImmutable $modified Time event was last modified.
*/
protected $modified;
/**
* Constructor.
*
@@ -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();
}