Documentation

AnimeParser
in package
implements ParserInterface

Class AnimeParser

Table of Contents

Interfaces

ParserInterface
Interface ParserInterface

Properties

$crawler  : Crawler

Methods

__construct()  : mixed
AnimeParser constructor.
getAired()  : DateRange
getAnimeAiredString()  : string|null
getApproved()  : bool
getBackground()  : string|null
getBroadcast()  : string|null
getDemographics()  : array<string|int, MalUrl>
getDuration()  : string|null
getEndingThemes()  : array<string|int, mixed>
getEpisodes()  : int|null
getExplicitGenres()  : array<string|int, MalUrl>
getExternalLinks()  : array<string|int, mixed>
getFavorites()  : int|null
getGenres()  : array<string|int, MalUrl>
getId()  : int
getImageURL()  : string
getLicensors()  : array<string|int, mixed>
getMembers()  : int|null
getModel()  : Anime
Return the model
getOpeningThemes()  : array<string|int, mixed>
getPopularity()  : int|null
getPremiered()  : string|null
getPreview()  : string|null
getProducers()  : array<string|int, mixed>
getRank()  : int|null
getRating()  : string|null
getRelated()  : array<string|int, mixed>
getScore()  : float|null
getScoredBy()  : int|null
getSource()  : string|null
getStatus()  : string|null
getStreamingLinks()  : array<string|int, mixed>
getStudios()  : array<string|int, mixed>
getSynopsis()  : string|null
getThemes()  : array<string|int, MalUrl>
getTitle()  : string
getTitleEnglish()  : string|null
getTitleJapanese()  : string|null
getTitles()  : array<string|int, Title>
getTitleSynonyms()  : array<string|int, mixed>
getType()  : string|null
getURL()  : string

Properties

Methods

__construct()

AnimeParser constructor.

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

getAnimeAiredString()

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

getApproved()

public getApproved() : bool
Return values
bool

getBackground()

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

getBroadcast()

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

getDemographics()

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

getDuration()

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

getEndingThemes()

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

getEpisodes()

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

getExplicitGenres()

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

getFavorites()

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

getGenres()

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

getId()

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

getImageURL()

public getImageURL() : string
Tags
throws
InvalidArgumentException
Return values
string

getLicensors()

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

getMembers()

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

getModel()

Return the model

public getModel() : Anime
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
Anime

getOpeningThemes()

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

getPopularity()

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

getPremiered()

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

getPreview()

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

getProducers()

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

getRank()

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

getRating()

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

getRelated()

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

getScore()

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

getScoredBy()

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

getSource()

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

getStatus()

public getStatus() : string|null
Tags
throws
InvalidArgumentException
Return values
string|null
public getStreamingLinks() : array<string|int, mixed>
Return values
array<string|int, mixed>

getStudios()

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

getSynopsis()

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

getThemes()

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

getTitle()

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

getTitleEnglish()

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

getTitleJapanese()

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

getTitles()

public getTitles() : array<string|int, Title>
Tags
throws
Exception
Return values
array<string|int, Title>

getTitleSynonyms()

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

getType()

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

getURL()

public getURL() : string
Tags
throws
InvalidArgumentException
Return values
string

        
On this page

Search results