ResourceNewsListItemParser
in package
implements
ParserInterface
Class ResourceNewsListParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- MangaParser constructor.
- getAuthor() : MalUrl
- getComments() : int
- getDate() : DateTimeImmutable
- getDiscussionLink() : string
- getImage() : string|null
- getIntro() : string
- getMalId() : int|null
- getModel() : ResourceNewsListItem
- Return the model
- getTitle() : string
- getUrl() : string
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
MangaParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getAuthor()
public
getAuthor() : MalUrl
Tags
Return values
MalUrlgetComments()
public
getComments() : int
Tags
Return values
intgetDate()
public
getDate() : DateTimeImmutable
Tags
Return values
DateTimeImmutablegetDiscussionLink()
public
getDiscussionLink() : string
Tags
Return values
stringgetImage()
public
getImage() : string|null
Tags
Return values
string|nullgetIntro()
public
getIntro() : string
Tags
Return values
stringgetMalId()
public
getMalId() : int|null
Return values
int|nullgetModel()
Return the model
public
getModel() : ResourceNewsListItem
Tags
Return values
ResourceNewsListItemgetTitle()
public
getTitle() : string
Tags
Return values
stringgetUrl()
public
getUrl() : string