Anime
in package
Class AnimeParser
Table of Contents
Properties
- $aired : DateRange
- $airing : bool
- $approved : bool
- $background : string|null
- $broadcast : string|null
- $demographics : array<string|int, MalUrl>
- $duration : string|null
- $endingThemes : array<string|int, string>
- $episodes : int|null
- $explicitGenres : array<string|int, MalUrl>
- $externalLinks : array<string|int, Url>
- $favorites : int|null
- $genres : array<string|int, MalUrl>
- $images : CommonImageResource
- $licensors : array<string|int, MalUrl>
- $malId : int
- $members : int|null
- $openingThemes : array<string|int, string>
- $popularity : int|null
- $premiered : string|null
- $producers : array<string|int, MalUrl>
- $rank : int|null
- $rating : string|null
- $related : array<string|int, MalUrl>
- $score : float|null
- $scoredBy : int|null
- $source : string|null
- $status : string|null
- $streamingLinks : array<string|int, Url>
- $studios : array<string|int, MalUrl>
- $synopsis : string|null
- $themes : array<string|int, MalUrl>
- $title : string
- $titleEnglish : string|null
- $titleJapanese : string|null
- $titles : array<string|int, Title>
- $titleSynonyms : array<string|int, string>
- $trailer : YoutubeMeta
- $type : string|null
- $url : string
Methods
- fromParser() : Anime
- Create an instance from an AnimeParser parser
- getAired() : DateRange
- getBackground() : string|null
- getBroadcast() : string|null
- getDemographics() : array<string|int, MalUrl>
- getDuration() : string
- getEndingThemes() : array<string|int, string>
- getEpisodes() : int|null
- getExplicitGenres() : array<string|int, MalUrl>
- getExternalLinks() : array<string|int, Url>
- getFavorites() : int|null
- getGenres() : array<string|int, MalUrl>
- getImages() : CommonImageResource
- getLicensors() : array<string|int, MalUrl>
- getMalId() : int
- getMembers() : int|null
- getOpeningThemes() : array<string|int, string>
- getPopularity() : int|null
- getPremiered() : string|null
- getProducers() : array<string|int, MalUrl>
- getRank() : int|null
- getRating() : string|null
- getRelated() : array<string|int, MalUrl>
- getScore() : float|null
- getScoredBy() : int|null
- getSource() : string|null
- getStatus() : string|null
- getStreamingLinks() : array<string|int, Url>
- getStudios() : array<string|int, MalUrl>
- 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, string>
- getTrailer() : YoutubeMeta
- getType() : string|null
- getUrl() : string
- isAiring() : bool
- isApproved() : bool
Properties
$aired
private
DateRange
$aired
$airing
private
bool
$airing
= false
$approved
private
bool
$approved
$background
private
string|null
$background
$broadcast
private
string|null
$broadcast
$demographics
private
array<string|int, MalUrl>
$demographics
= []
$duration
private
string|null
$duration
$endingThemes
private
array<string|int, string>
$endingThemes
= []
$episodes
private
int|null
$episodes
$explicitGenres
private
array<string|int, MalUrl>
$explicitGenres
= []
$externalLinks
private
array<string|int, Url>
$externalLinks
= []
$favorites
private
int|null
$favorites
$genres
private
array<string|int, MalUrl>
$genres
= []
$images
private
CommonImageResource
$images
$licensors
private
array<string|int, MalUrl>
$licensors
= []
$malId
private
int
$malId
$members
private
int|null
$members
$openingThemes
private
array<string|int, string>
$openingThemes
= []
$popularity
private
int|null
$popularity
$premiered
private
string|null
$premiered
$producers
private
array<string|int, MalUrl>
$producers
= []
$rank
private
int|null
$rank
$rating
private
string|null
$rating
$related
private
array<string|int, MalUrl>
$related
= []
$score
private
float|null
$score
$scoredBy
private
int|null
$scoredBy
$source
private
string|null
$source
$status
private
string|null
$status
$streamingLinks
private
array<string|int, Url>
$streamingLinks
= []
$studios
private
array<string|int, MalUrl>
$studios
= []
$synopsis
private
string|null
$synopsis
$themes
private
array<string|int, MalUrl>
$themes
= []
$title
private
string
$title
$titleEnglish
private
string|null
$titleEnglish
$titleJapanese
private
string|null
$titleJapanese
$titles
private
array<string|int, Title>
$titles
$titleSynonyms
private
array<string|int, string>
$titleSynonyms
$trailer
private
YoutubeMeta
$trailer
$type
private
string|null
$type
$url
private
string
$url
Methods
fromParser()
Create an instance from an AnimeParser parser
public
static fromParser(AnimeParser $parser) : Anime
Parameters
- $parser : AnimeParser
Tags
Return values
AnimegetAired()
public
getAired() : DateRange
Return values
DateRangegetBackground()
public
getBackground() : string|null
Return values
string|nullgetBroadcast()
public
getBroadcast() : string|null
Return values
string|nullgetDemographics()
public
getDemographics() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getDuration()
public
getDuration() : string
Return values
stringgetEndingThemes()
public
getEndingThemes() : array<string|int, string>
Return values
array<string|int, string>getEpisodes()
public
getEpisodes() : int|null
Return values
int|nullgetExplicitGenres()
public
getExplicitGenres() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getExternalLinks()
public
getExternalLinks() : array<string|int, Url>
Return values
array<string|int, Url>getFavorites()
public
getFavorites() : int|null
Return values
int|nullgetGenres()
public
getGenres() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getImages()
public
getImages() : CommonImageResource
Return values
CommonImageResourcegetLicensors()
public
getLicensors() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getMalId()
public
getMalId() : int
Return values
intgetMembers()
public
getMembers() : int|null
Return values
int|nullgetOpeningThemes()
public
getOpeningThemes() : array<string|int, string>
Return values
array<string|int, string>getPopularity()
public
getPopularity() : int|null
Return values
int|nullgetPremiered()
public
getPremiered() : string|null
Return values
string|nullgetProducers()
public
getProducers() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getRank()
public
getRank() : int|null
Return values
int|nullgetRating()
public
getRating() : string|null
Return values
string|nullgetRelated()
public
getRelated() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getScore()
public
getScore() : float|null
Return values
float|nullgetScoredBy()
public
getScoredBy() : int|null
Return values
int|nullgetSource()
public
getSource() : string|null
Return values
string|nullgetStatus()
public
getStatus() : string|null
Return values
string|nullgetStreamingLinks()
public
getStreamingLinks() : array<string|int, Url>
Return values
array<string|int, Url>getStudios()
public
getStudios() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getSynopsis()
public
getSynopsis() : string|null
Return values
string|nullgetThemes()
public
getThemes() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getTitle()
public
getTitle() : string
Tags
Return values
stringgetTitleEnglish()
public
getTitleEnglish() : string|null
Tags
Return values
string|nullgetTitleJapanese()
public
getTitleJapanese() : string|null
Tags
Return values
string|nullgetTitles()
public
getTitles() : array<string|int, Title>
Return values
array<string|int, Title>getTitleSynonyms()
public
getTitleSynonyms() : array<string|int, string>
Tags
Return values
array<string|int, string>getTrailer()
public
getTrailer() : YoutubeMeta
Return values
YoutubeMetagetType()
public
getType() : string|null
Return values
string|nullgetUrl()
public
getUrl() : string
Return values
stringisAiring()
public
isAiring() : bool
Return values
boolisApproved()
public
isApproved() : bool