mediawiki-extensions-Discus.../includes/ThreadItem/CommentItem.php

23 lines
442 B
PHP
Raw Permalink Normal View History

<?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;
}