ResourceNews
in package
Class AnimeParser
Table of Contents
Properties
- $authorUrl : string
- $authorUsername : string
- $comments : int
- $content : string
- $date : DateTimeImmutable
- $forumUrl : string
- $images : WrapImageResource
- $malId : int|null
- $relatedEntries : array<string|int, MalUrl>
- $relatedNews : array<string|int, mixed>
- $tags : array<string|int, mixed>
- $title : string
- $url : string
Methods
- fromParser() : self
- getAuthorUrl() : string
- getAuthorUsername() : string
- getComments() : int
- getContent() : string
- getDate() : DateTimeImmutable
- getForumUrl() : string
- getImages() : WrapImageResource
- getMalId() : int|null
- getRelatedEntries() : array<string|int, mixed>
- getRelatedNews() : array<string|int, mixed>
- getTags() : array<string|int, mixed>
- getTitle() : string
- getUrl() : string
Properties
$authorUrl
private
string
$authorUrl
$authorUsername
private
string
$authorUsername
$comments
private
int
$comments
$content
private
string
$content
$date
private
DateTimeImmutable
$date
$forumUrl
private
string
$forumUrl
$images
private
WrapImageResource
$images
$malId
private
int|null
$malId
$relatedEntries
private
array<string|int, MalUrl>
$relatedEntries
= []
$relatedNews
private
array<string|int, mixed>
$relatedNews
= []
$tags
private
array<string|int, mixed>
$tags
$title
private
string
$title
$url
private
string
$url
Methods
fromParser()
public
static fromParser(NewsParser $parser) : self
Parameters
- $parser : NewsParser
Return values
selfgetAuthorUrl()
public
getAuthorUrl() : string
Return values
stringgetAuthorUsername()
public
getAuthorUsername() : string
Return values
stringgetComments()
public
getComments() : int
Return values
intgetContent()
public
getContent() : string
Return values
stringgetDate()
public
getDate() : DateTimeImmutable
Return values
DateTimeImmutablegetForumUrl()
public
getForumUrl() : string
Return values
stringgetImages()
public
getImages() : WrapImageResource
Return values
WrapImageResourcegetMalId()
public
getMalId() : int|null
Return values
int|nullgetRelatedEntries()
public
getRelatedEntries() : array<string|int, mixed>
Return values
array<string|int, mixed>getRelatedNews()
public
getRelatedNews() : array<string|int, mixed>
Return values
array<string|int, mixed>getTags()
public
getTags() : array<string|int, mixed>
Return values
array<string|int, mixed>getTitle()
public
getTitle() : string
Return values
stringgetUrl()
public
getUrl() : string