CharacterParser
in package
implements
ParserInterface
Class CharacterParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- CharacterParser constructor.
- getAbout() : string|null
- getAnimeography() : array<string|int, Animeography>
- getCharacterUrl() : string
- getImage() : string
- getMalId() : int
- getMangaography() : array<string|int, Mangaography>
- getMemberFavorites() : int
- getModel() : Character
- Return the model
- getName() : string
- getNameKanji() : string|null
- getNameNicknames() : array<string|int, string>
- getVoiceActors() : array<string|int, VoiceActor>
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
CharacterParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getAbout()
public
getAbout() : string|null
Tags
Return values
string|nullgetAnimeography()
public
getAnimeography() : array<string|int, Animeography>
Tags
Return values
array<string|int, Animeography>getCharacterUrl()
public
getCharacterUrl() : string
Tags
Return values
stringgetImage()
public
getImage() : string
Tags
Return values
stringgetMalId()
public
getMalId() : int
Tags
Return values
intgetMangaography()
public
getMangaography() : array<string|int, Mangaography>
Tags
Return values
array<string|int, Mangaography>getMemberFavorites()
public
getMemberFavorites() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : Character
Tags
Return values
CharactergetName()
public
getName() : string
Tags
Return values
stringgetNameKanji()
public
getNameKanji() : string|null
Tags
Return values
string|nullgetNameNicknames()
public
getNameNicknames() : array<string|int, string>
Tags
Return values
array<string|int, string>getVoiceActors()
public
getVoiceActors() : array<string|int, VoiceActor>