AnimeCardParser
in package
implements
ParserInterface
Class AnimeCardParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- AnimeCardParser constructor.
- getAirDates() : DateTimeImmutable|null
- getAnimeImage() : string|null
- getAnimeMeta() : AnimeMeta
- getAnimeScore() : float|null
- getAnimeUrl() : string
- getDemographics() : array<string|int, string>
- getDescription() : string|null
- getEpisodes() : int|null
- getExplicitGenres() : array<string|int, mixed>|array<string|int, MalUrl>
- getGenres() : array<string|int, mixed>|array<string|int, MalUrl>
- getLicensors() : array<string|int, string>
- getMalId() : int
- getMembers() : int
- getModel() : AnimeCard
- Return the model
- getProducer() : array<string|int, MalUrl>
- getSeasonalModel() : SeasonalAnime
- getSource() : string|null
- getThemes() : array<string|int, string>
- getTitle() : string
- getType() : string|null
- isContinuing() : bool
- isKids() : bool
- isR18() : bool
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
AnimeCardParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getAirDates()
public
getAirDates() : DateTimeImmutable|null
Tags
Return values
DateTimeImmutable|null —?\DateTimeImmutable
getAnimeImage()
public
getAnimeImage() : string|null
Tags
Return values
string|nullgetAnimeMeta()
public
getAnimeMeta() : AnimeMeta
Tags
Return values
AnimeMetagetAnimeScore()
public
getAnimeScore() : float|null
Tags
Return values
float|nullgetAnimeUrl()
public
getAnimeUrl() : string
Tags
Return values
stringgetDemographics()
public
getDemographics() : array<string|int, string>
Tags
Return values
array<string|int, string>getDescription()
public
getDescription() : string|null
Tags
Return values
string|nullgetEpisodes()
public
getEpisodes() : int|null
Tags
Return values
int|nullgetExplicitGenres()
public
getExplicitGenres() : array<string|int, mixed>|array<string|int, MalUrl>
Tags
Return values
array<string|int, mixed>|array<string|int, MalUrl>getGenres()
public
getGenres() : array<string|int, mixed>|array<string|int, MalUrl>
Tags
Return values
array<string|int, mixed>|array<string|int, MalUrl>getLicensors()
public
getLicensors() : array<string|int, string>
Tags
Return values
array<string|int, string>getMalId()
public
getMalId() : int
Tags
Return values
intgetMembers()
public
getMembers() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : AnimeCard
Return values
AnimeCardgetProducer()
public
getProducer() : array<string|int, MalUrl>
Tags
Return values
array<string|int, MalUrl>getSeasonalModel()
public
getSeasonalModel() : SeasonalAnime
Tags
Return values
SeasonalAnimegetSource()
public
getSource() : string|null
Tags
Return values
string|nullgetThemes()
public
getThemes() : array<string|int, string>
Tags
Return values
array<string|int, string>getTitle()
public
getTitle() : string
Tags
Return values
stringgetType()
public
getType() : string|null
Tags
Return values
string|nullisContinuing()
public
isContinuing() : bool
Tags
Return values
boolisKids()
public
isKids() : bool
Tags
Return values
boolisR18()
public
isR18() : bool