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:
committed by
Damyon Wiese
parent
3e1c027532
commit
4c19dc323a
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user