Documentation

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

Methods

__construct()

SeasonalParser constructor.

public __construct(Crawler $crawler) : mixed
Parameters
$crawler : Crawler

getSeasonalAnime()

public getSeasonalAnime() : array<string|int, mixed>|array<string|int, SeasonalAnime>
Tags
throws
InvalidArgumentException
throws
RuntimeException
Return values
array<string|int, mixed>|array<string|int, SeasonalAnime>

getSeasonName()

public getSeasonName() : string|null
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
string|null

getSeasonYear()

public getSeasonYear() : int|null
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
int|null

        
On this page

Search results