HistoryItemParser
in package
implements
ParserInterface
Class HistoryItemParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- HistoryItemParser constructor.
- getDate() : DateTimeImmutable
- getIncrement() : int
- getModel() : History
- Return the model
- getUrl() : MalUrl
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
HistoryItemParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getDate()
public
getDate() : DateTimeImmutable
Tags
Return values
DateTimeImmutablegetIncrement()
public
getIncrement() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : History
Tags
Return values
HistorygetUrl()
public
getUrl() : MalUrl