| @@ -124,8 +124,18 @@ | ||
| 124 | 124 | return $this->entry->getDateEdited(); |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | + * Set the date the entry was last edited. | |
| 129 | + * | |
| 130 | + * @param string $dateEdited The persisted last-edited timestamp. | |
| 131 | + */ | |
| 132 | + public function setDateEdited(string $dateEdited): void | |
| 133 | + { | |
| 134 | + $this->entry->dateEdited = $dateEdited; | |
| 135 | + } | |
| 136 | + | |
| 137 | + /** | |
| 128 | 138 | * Get the status of the entry. |
| 129 | 139 | * |
| 130 | 140 | * @return string The status of the entry. |
| 131 | 141 | */ |