AnimeListItem
in package
Class AnimeListItem
Table of Contents
Properties
- $addedToList : bool
- $airingStatus : int
- $days : string|null
- $demographics : array<string|int, mixed>|MalUrl
- $endDate : DateTimeImmutable|null
- $genres : array<string|int, mixed>|MalUrl
- $hasEpisodeVideo : bool
- $hasPromoVideo : bool
- $hasVideo : bool
- $images : CommonImageResource
- $isRewatching : bool
- $licensors : array<string|int, mixed>
- $malId : int
- $priority : string
- $rating : string|null
- $score : float
- $seasonName : string|null
- $seasonYear : int|null
- $startDate : DateTimeImmutable|null
- $storage : string|null
- $studios : array<string|int, mixed>
- $tags : string|null
- $title : string
- $totalEpisodes : int
- $type : string
- $url : string
- $videoUrl : string
- $watchedEpisodes : int
- $watchEndDate : DateTimeImmutable|null
- $watchingStatus : int
- $watchStartDate : DateTimeImmutable|null
Methods
- factory() : AnimeListItem
- getAiringStatus() : int
- getDays() : null|string
- getDemographics() : array<string|int, mixed>|MalUrl
- getEndDate() : DateTimeImmutable|null
- getGenres() : array<string|int, mixed>|MalUrl
- getImages() : CommonImageResource
- getLicensors() : array<string|int, mixed>
- getMalId() : int
- getPriority() : string
- getRating() : null|string
- getScore() : float
- getSeasonName() : string|null
- getSeasonYear() : int|null
- getStartDate() : DateTimeImmutable|null
- getStorage() : null|string
- getStudios() : array<string|int, mixed>
- getTags() : null|string
- getTitle() : string
- getTotalEpisodes() : int
- getType() : string
- getUrl() : string
- getVideoUrl() : string
- getWatchedEpisodes() : int
- getWatchEndDate() : DateTimeImmutable|null
- getWatchingStatus() : int
- getWatchStartDate() : DateTimeImmutable|null
- isAddedToList() : bool
- isHasEpisodeVideo() : bool
- isHasPromoVideo() : bool
- isHasVideo() : bool
- isRewatching() : bool
Properties
$addedToList
private
bool
$addedToList
$airingStatus
private
int
$airingStatus
$days
private
string|null
$days
$demographics
private
array<string|int, mixed>|MalUrl
$demographics
= []
$endDate
private
DateTimeImmutable|null
$endDate
$genres
private
array<string|int, mixed>|MalUrl
$genres
= []
$hasEpisodeVideo
private
bool
$hasEpisodeVideo
$hasPromoVideo
private
bool
$hasPromoVideo
$hasVideo
private
bool
$hasVideo
$images
private
CommonImageResource
$images
$isRewatching
private
bool
$isRewatching
$licensors
private
array<string|int, mixed>
$licensors
= []
$malId
private
int
$malId
$priority
private
string
$priority
$rating
private
string|null
$rating
$score
private
float
$score
$seasonName
private
string|null
$seasonName
$seasonYear
private
int|null
$seasonYear
$startDate
private
DateTimeImmutable|null
$startDate
$storage
private
string|null
$storage
$studios
private
array<string|int, mixed>
$studios
= []
$tags
private
string|null
$tags
$title
private
string
$title
$totalEpisodes
private
int
$totalEpisodes
$type
private
string
$type
$url
private
string
$url
$videoUrl
private
string
$videoUrl
$watchedEpisodes
private
int
$watchedEpisodes
$watchEndDate
private
DateTimeImmutable|null
$watchEndDate
$watchingStatus
private
int
$watchingStatus
$watchStartDate
private
DateTimeImmutable|null
$watchStartDate
Methods
factory()
public
static factory(stdClass $item) : AnimeListItem
Parameters
- $item : stdClass
Return values
AnimeListItemgetAiringStatus()
public
getAiringStatus() : int
Return values
intgetDays()
public
getDays() : null|string
Return values
null|stringgetDemographics()
public
getDemographics() : array<string|int, mixed>|MalUrl
Return values
array<string|int, mixed>|MalUrlgetEndDate()
public
getEndDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetGenres()
public
getGenres() : array<string|int, mixed>|MalUrl
Return values
array<string|int, mixed>|MalUrlgetImages()
public
getImages() : CommonImageResource
Return values
CommonImageResourcegetLicensors()
public
getLicensors() : array<string|int, mixed>
Return values
array<string|int, mixed>getMalId()
public
getMalId() : int
Return values
intgetPriority()
public
getPriority() : string
Return values
stringgetRating()
public
getRating() : null|string
Return values
null|stringgetScore()
public
getScore() : float
Return values
floatgetSeasonName()
public
getSeasonName() : string|null
Return values
string|nullgetSeasonYear()
public
getSeasonYear() : int|null
Return values
int|nullgetStartDate()
public
getStartDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetStorage()
public
getStorage() : null|string
Return values
null|stringgetStudios()
public
getStudios() : array<string|int, mixed>
Return values
array<string|int, mixed>getTags()
public
getTags() : null|string
Return values
null|stringgetTitle()
public
getTitle() : string
Return values
stringgetTotalEpisodes()
public
getTotalEpisodes() : int
Return values
intgetType()
public
getType() : string
Return values
stringgetUrl()
public
getUrl() : string
Return values
stringgetVideoUrl()
public
getVideoUrl() : string
Return values
stringgetWatchedEpisodes()
public
getWatchedEpisodes() : int
Return values
intgetWatchEndDate()
public
getWatchEndDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetWatchingStatus()
public
getWatchingStatus() : int
Return values
intgetWatchStartDate()
public
getWatchStartDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullisAddedToList()
public
isAddedToList() : bool
Return values
boolisHasEpisodeVideo()
public
isHasEpisodeVideo() : bool
Return values
boolisHasPromoVideo()
public
isHasPromoVideo() : bool
Return values
boolisHasVideo()
public
isHasVideo() : bool
Return values
boolisRewatching()
public
isRewatching() : bool