VideosParser
in package
implements
ParserInterface
Class VideosParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- EpisodesParser constructor.
- getEpisodes() : array<string|int, StreamEpisodeListItem>
- getHasNextPage() : bool
- getLastPage() : int
- getModel() : AnimeVideos
- Return the model
- getMusic() : array<string|int, MusicVideoListItem>
- getPromos() : array<string|int, PromoListItem>
- getResultsModel() : AnimeVideosEpisodes
- Return the results based model
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
EpisodesParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getEpisodes()
public
getEpisodes() : array<string|int, StreamEpisodeListItem>
Tags
Return values
array<string|int, StreamEpisodeListItem>getHasNextPage()
public
getHasNextPage() : bool
Return values
boolgetLastPage()
public
getLastPage() : int
Return values
intgetModel()
Return the model
public
getModel() : AnimeVideos
Tags
Return values
AnimeVideosgetMusic()
public
getMusic() : array<string|int, MusicVideoListItem>
Return values
array<string|int, MusicVideoListItem>getPromos()
public
getPromos() : array<string|int, PromoListItem>
Tags
Return values
array<string|int, PromoListItem>getResultsModel()
Return the results based model
public
getResultsModel() : AnimeVideosEpisodes