EpisodesParser
in package
implements
ParserInterface
Class EpisodseParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- EpisodesParser constructor.
- getEpisodes() : array<string|int, EpisodeListItem>
- getHasNextPage() : bool
- getLastPage() : int
- getModel() : Episodes
- Return the model
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
EpisodesParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getEpisodes()
public
getEpisodes() : array<string|int, EpisodeListItem>
Tags
Return values
array<string|int, EpisodeListItem>getHasNextPage()
public
getHasNextPage() : bool
Return values
boolgetLastPage()
public
getLastPage() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : Episodes