TopCharacterListItem
in package
Class TopCharacterListItem
Table of Contents
Properties
- $animeography : array<string|int, MalUrl>
- $favorites : int
- $images : CharacterImageResource
- $malId : int
- $mangaography : array<string|int, MalUrl>
- $nameKanji : string|null
- $rank : int
- $title : string
- $url : string
Methods
- __toString() : string
- fromParser() : self
- Create an instance from an AnimeParser parser
- getAnimeography() : array<string|int, MalUrl>
- getFavorites() : int
- getImages() : CharacterImageResource
- getMalId() : int
- getMangaography() : array<string|int, MalUrl>
- getNameKanji() : string|null
- getRank() : int
- getTitle() : string
- getUrl() : string
Properties
$animeography
private
array<string|int, MalUrl>
$animeography
$favorites
private
int
$favorites
$images
private
CharacterImageResource
$images
$malId
private
int
$malId
$mangaography
private
array<string|int, MalUrl>
$mangaography
$nameKanji
private
string|null
$nameKanji
$rank
private
int
$rank
$title
private
string
$title
$url
private
string
$url
Methods
__toString()
public
__toString() : string
Return values
stringfromParser()
Create an instance from an AnimeParser parser
public
static fromParser(TopListItemParser $parser) : self
Parameters
- $parser : TopListItemParser
Tags
Return values
selfgetAnimeography()
public
getAnimeography() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getFavorites()
public
getFavorites() : int
Return values
intgetImages()
public
getImages() : CharacterImageResource
Return values
CharacterImageResourcegetMalId()
public
getMalId() : int
Return values
intgetMangaography()
public
getMangaography() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getNameKanji()
public
getNameKanji() : string|null
Return values
string|nullgetRank()
public
getRank() : int
Return values
intgetTitle()
public
getTitle() : string
Return values
stringgetUrl()
public
getUrl() : string