Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\DiscussionTools\ThreadItem; |
| 4 | |
| 5 | use DateTimeImmutable; |
| 6 | |
| 7 | interface CommentItem extends ThreadItem { |
| 8 | /** |
| 9 | * @return string Comment author |
| 10 | */ |
| 11 | public function getAuthor(): string; |
| 12 | |
| 13 | /** |
| 14 | * @return DateTimeImmutable Comment timestamp |
| 15 | */ |
| 16 | public function getTimestamp(): DateTimeImmutable; |
| 17 | |
| 18 | /** |
| 19 | * @return string Comment timestamp in standard format |
| 20 | */ |
| 21 | public function getTimestampString(): string; |
| 22 | } |