Documentation

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

Methods

__construct()

CharacterParser constructor.

public __construct(Crawler $crawler) : mixed
Parameters
$crawler : Crawler

getAbout()

public getAbout() : string|null
Tags
throws
InvalidArgumentException
Return values
string|null

getCharacterUrl()

public getCharacterUrl() : string
Tags
throws
InvalidArgumentException
Return values
string

getImage()

public getImage() : string
Tags
throws
InvalidArgumentException
Return values
string

getMalId()

public getMalId() : int
Tags
throws
InvalidArgumentException
Return values
int

getMemberFavorites()

public getMemberFavorites() : int
Tags
throws
InvalidArgumentException
Return values
int

getName()

public getName() : string
Tags
throws
InvalidArgumentException
Return values
string

getNameKanji()

public getNameKanji() : string|null
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
string|null

getNameNicknames()

public getNameNicknames() : array<string|int, string>
Tags
throws
InvalidArgumentException
Return values
array<string|int, string>

getVoiceActors()

public getVoiceActors() : array<string|int, VoiceActor>
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
array<string|int, VoiceActor>

        
On this page

Search results