mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 16:34:21 +00:00
23 lines
442 B
PHP
23 lines
442 B
PHP
|
<?php
|
||
|
|
||
|
namespace MediaWiki\Extension\DiscussionTools\ThreadItem;
|
||
|
|
||
|
use DateTimeImmutable;
|
||
|
|
||
|
interface CommentItem extends ThreadItem {
|
||
|
/**
|
||
|
* @return string Comment author
|
||
|
*/
|
||
|
public function getAuthor(): string;
|
||
|
|
||
|
/**
|
||
|
* @return DateTimeImmutable Comment timestamp
|
||
|
*/
|
||
|
public function getTimestamp(): DateTimeImmutable;
|
||
|
|
||
|
/**
|
||
|
* @return string Comment timestamp in standard format
|
||
|
*/
|
||
|
public function getTimestampString(): string;
|
||
|
}
|