CharacterSearchListItem
in package
Class CharacterSearchListItem
Table of Contents
Properties
- $alternativeNames : array<string|int, mixed>
- $anime : array<string|int, MalUrl>
- $images : CharacterImageResource
- $malId : int
- $manga : array<string|int, MalUrl>
- $name : string
- $url : string
Methods
- fromParser() : CharacterSearchListItem
- getAlternativeNames() : array<string|int, mixed>
- getAnime() : array<string|int, MalUrl>
- getImages() : CharacterImageResource
- getMalId() : int
- getManga() : array<string|int, MalUrl>
- getName() : string
- getUrl() : string
Properties
$alternativeNames
private
array<string|int, mixed>
$alternativeNames
$anime
private
array<string|int, MalUrl>
$anime
$images
private
CharacterImageResource
$images
$malId
private
int
$malId
$manga
private
array<string|int, MalUrl>
$manga
$name
private
string
$name
$url
private
string
$url
Methods
fromParser()
public
static fromParser(CharacterSearchListItemParser $parser) : CharacterSearchListItem
Parameters
- $parser : CharacterSearchListItemParser
Tags
Return values
CharacterSearchListItemgetAlternativeNames()
public
getAlternativeNames() : array<string|int, mixed>
Return values
array<string|int, mixed>getAnime()
public
getAnime() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getImages()
public
getImages() : CharacterImageResource
Return values
CharacterImageResourcegetMalId()
public
getMalId() : int
Return values
intgetManga()
public
getManga() : array<string|int, MalUrl>
Return values
array<string|int, MalUrl>getName()
public
getName() : string
Return values
stringgetUrl()
public
getUrl() : string