ForumPost
in package
Class ForumPost
Table of Contents
Properties
- $authorUrl : string
- $authorUsername : string
- $date : DateTimeImmutable|null
- $url : string
Methods
- __construct() : mixed
- ForumPost constructor.
- getAuthorUrl() : string
- getAuthorUsername() : string
- getDate() : DateTimeImmutable|null
- getUrl() : string
Properties
$authorUrl
private
string
$authorUrl
$authorUsername
private
string
$authorUsername
$date
private
DateTimeImmutable|null
$date
$url
private
string
$url
Methods
__construct()
ForumPost constructor.
public
__construct(string $url, string $authorUsername, string $authorUrl, DateTimeImmutable|null $relativeDate) : mixed
Parameters
- $url : string
- $authorUsername : string
- $authorUrl : string
- $relativeDate : DateTimeImmutable|null
getAuthorUrl()
public
getAuthorUrl() : string
Return values
stringgetAuthorUsername()
public
getAuthorUsername() : string
Return values
stringgetDate()
public
getDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetUrl()
public
getUrl() : string