PersonParser
in package
implements
ParserInterface
Class PersonParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- PersonParser constructor.
- getModel() : Person
- Return the model
- getPersonAbout() : string|null
- getPersonAlternateNames() : array<string|int, mixed>|null
- getPersonAnimeStaffPositions() : array<string|int, AnimeStaffPosition>
- getPersonBirthday() : DateTimeImmutable|null
- getPersonFamilyName() : string|null
- getPersonFavorites() : int|null
- getPersonGivenName() : string|null
- getPersonId() : int
- getPersonImageUrl() : string
- getPersonName() : string
- getPersonPublishedManga() : array<string|int, PublishedManga>
- getPersonURL() : string
- getPersonVoiceActingRoles() : array<string|int, VoiceActingRole>
- getPersonWebsite() : string|null
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
PersonParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getModel()
Return the model
public
getModel() : Person
Tags
Return values
PersongetPersonAbout()
public
getPersonAbout() : string|null
Tags
Return values
string|nullgetPersonAlternateNames()
public
getPersonAlternateNames() : array<string|int, mixed>|null
Tags
Return values
array<string|int, mixed>|nullgetPersonAnimeStaffPositions()
public
getPersonAnimeStaffPositions() : array<string|int, AnimeStaffPosition>
Tags
Return values
array<string|int, AnimeStaffPosition>getPersonBirthday()
public
getPersonBirthday() : DateTimeImmutable|null
Tags
Return values
DateTimeImmutable|nullgetPersonFamilyName()
public
getPersonFamilyName() : string|null
Tags
Return values
string|nullgetPersonFavorites()
public
getPersonFavorites() : int|null
Tags
Return values
int|nullgetPersonGivenName()
public
getPersonGivenName() : string|null
Tags
Return values
string|nullgetPersonId()
public
getPersonId() : int
Tags
Return values
intgetPersonImageUrl()
public
getPersonImageUrl() : string
Tags
Return values
stringgetPersonName()
public
getPersonName() : string
Tags
Return values
stringgetPersonPublishedManga()
public
getPersonPublishedManga() : array<string|int, PublishedManga>
Tags
Return values
array<string|int, PublishedManga>getPersonURL()
public
getPersonURL() : string
Tags
Return values
stringgetPersonVoiceActingRoles()
public
getPersonVoiceActingRoles() : array<string|int, VoiceActingRole>
Tags
Return values
array<string|int, VoiceActingRole>getPersonWebsite()
public
getPersonWebsite() : string|null