Documentation

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

Methods

__construct()

PersonParser constructor.

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

getModel()

Return the model

public getModel() : Person
Tags
throws
RuntimeException
throws
InvalidArgumentException
throws
Exception
throws
Exception
Return values
Person

getPersonAbout()

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

getPersonAlternateNames()

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

getPersonBirthday()

public getPersonBirthday() : DateTimeImmutable|null
Tags
throws
RuntimeException
throws
InvalidArgumentException
throws
Exception
Return values
DateTimeImmutable|null

getPersonFamilyName()

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

getPersonFavorites()

public getPersonFavorites() : int|null
Tags
throws
InvalidArgumentException
Return values
int|null

getPersonGivenName()

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

getPersonId()

public getPersonId() : int
Tags
throws
InvalidArgumentException
throws
RuntimeException
Return values
int

getPersonImageUrl()

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

getPersonName()

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

getPersonPublishedManga()

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

getPersonURL()

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

getPersonVoiceActingRoles()

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

getPersonWebsite()

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

        
On this page

Search results