NewsMeta
in package
Class NewsMeta
Table of Contents
Properties
- $authorUrl : string
- $authorUsername : string
- $comments : int
- $date : DateTimeImmutable
- $forumUrl : string
- $images : NewsImageResource
- $malId : int
- $title : string
- $url : string
Methods
- __toString() : string
- fromParser() : self
- getAuthorUrl() : string
- getAuthorUsername() : string
- getComments() : int
- getDate() : DateTimeImmutable
- getForumUrl() : string
- getImages() : NewsImageResource
- getMalId() : int
- getTitle() : string
- getUrl() : string
Properties
$authorUrl
private
string
$authorUrl
$authorUsername
private
string
$authorUsername
$comments
private
int
$comments
$date
private
DateTimeImmutable
$date
$forumUrl
private
string
$forumUrl
$images
private
NewsImageResource
$images
$malId
private
int
$malId
$title
private
string
$title
$url
private
string
$url
Methods
__toString()
public
__toString() : string
Return values
stringfromParser()
public
static fromParser(NewsMetaParser $parser) : self
Parameters
- $parser : NewsMetaParser
Return values
selfgetAuthorUrl()
public
getAuthorUrl() : string
Return values
stringgetAuthorUsername()
public
getAuthorUsername() : string
Return values
stringgetComments()
public
getComments() : int
Return values
intgetDate()
public
getDate() : DateTimeImmutable
Return values
DateTimeImmutablegetForumUrl()
public
getForumUrl() : string
Return values
stringgetImages()
public
getImages() : NewsImageResource
Return values
NewsImageResourcegetMalId()
public
getMalId() : int
Return values
intgetTitle()
public
getTitle() : string
Return values
stringgetUrl()
public
getUrl() : string