TopPersonListItem
in package
Class TopPersonListItem
Table of Contents
Properties
- $birthday : DateTimeImmutable|null
- $favorites : int
- $images : PersonImageResource
- $malId : int
- $nameKanji : string|null
- $rank : int
- $title : string
- $url : string
Methods
- __toString() : string
- fromParser() : self
- Create an instance from an AnimeParser parser
- getBirthday() : DateTimeImmutable|null
- getFavorites() : int
- getImages() : PersonImageResource
- getMalId() : int
- getNameKanji() : string|null
- getRank() : int
- getTitle() : string
- getUrl() : string
Properties
$birthday
private
DateTimeImmutable|null
$birthday
$favorites
private
int
$favorites
$images
private
PersonImageResource
$images
$malId
private
int
$malId
$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
selfgetBirthday()
public
getBirthday() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetFavorites()
public
getFavorites() : int
Return values
intgetImages()
public
getImages() : PersonImageResource
Return values
PersonImageResourcegetMalId()
public
getMalId() : int
Return values
intgetNameKanji()
public
getNameKanji() : string|null
Return values
string|nullgetRank()
public
getRank() : int
Return values
intgetTitle()
public
getTitle() : string
Return values
stringgetUrl()
public
getUrl() : string