SeasonalParser
in package
implements
ParserInterface
Class SeasonalParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- SeasonalParser constructor.
- getModel() : Seasonal
- Return the model
- getSeasonalAnime() : array<string|int, mixed>|array<string|int, SeasonalAnime>
- getSeasonName() : string|null
- getSeasonYear() : int|null
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
SeasonalParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getModel()
Return the model
public
getModel() : Seasonal
Tags
Return values
SeasonalgetSeasonalAnime()
public
getSeasonalAnime() : array<string|int, mixed>|array<string|int, SeasonalAnime>
Tags
Return values
array<string|int, mixed>|array<string|int, SeasonalAnime>getSeasonName()
public
getSeasonName() : string|null
Tags
Return values
string|nullgetSeasonYear()
public
getSeasonYear() : int|null