Documentation

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

Methods

__construct()

AnimeCardParser constructor.

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

getAirDates()

public getAirDates() : DateTimeImmutable|null
Tags
throws
InvalidArgumentException
Return values
DateTimeImmutable|null

?\DateTimeImmutable

getAnimeImage()

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

getAnimeScore()

public getAnimeScore() : float|null
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
float|null

getAnimeUrl()

public getAnimeUrl() : string
Tags
throws
InvalidArgumentException
throws
RuntimeException
Return values
string

getDemographics()

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

getDescription()

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

getEpisodes()

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

getExplicitGenres()

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

getGenres()

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

getLicensors()

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

getMalId()

public getMalId() : int
Tags
throws
InvalidArgumentException
throws
RuntimeException
Return values
int

getMembers()

public getMembers() : int
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
int

getProducer()

public getProducer() : array<string|int, MalUrl>
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
array<string|int, MalUrl>

getSource()

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

getThemes()

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

getTitle()

public getTitle() : string
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
string

getType()

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

isContinuing()

public isContinuing() : bool
Tags
throws
InvalidArgumentException
Return values
bool

isKids()

public isKids() : bool
Tags
throws
InvalidArgumentException
Return values
bool

isR18()

public isR18() : bool
Tags
throws
InvalidArgumentException
Return values
bool

        
On this page

Search results