CharacterListItemParser
in package
implements
ParserInterface
Class CharacterListItemParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- CharacterListItemParser constructor.
- getCharacterMeta() : CharacterMeta
- getCharacterUrl() : string
- getFavorites() : int
- getImage() : string
- getMalId() : int
- getModel() : CharacterListItem
- Return the model
- getName() : string
- getRole() : string
- getVoiceActors() : array<string|int, VoiceActor>
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
CharacterListItemParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getCharacterMeta()
public
getCharacterMeta() : CharacterMeta
Tags
Return values
CharacterMetagetCharacterUrl()
public
getCharacterUrl() : string
Tags
Return values
stringgetFavorites()
public
getFavorites() : int
Return values
intgetImage()
public
getImage() : string
Tags
Return values
stringgetMalId()
public
getMalId() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : CharacterListItem
Tags
Return values
CharacterListItemgetName()
public
getName() : string
Tags
Return values
stringgetRole()
public
getRole() : string
Tags
Return values
stringgetVoiceActors()
public
getVoiceActors() : array<string|int, VoiceActor>