MangaCardParser
in package
implements
ParserInterface
Class MangaCardParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- MangaCardParser constructor.
- getAuthor() : array<string|int, MalUrl>
- getDemographics() : array<string|int, string>
- getDescription() : string
- getExplicitGenres() : array<string|int, mixed>|array<string|int, MalUrl>
- getGenres() : array<string|int, mixed>|array<string|int, MalUrl>
- getMalId() : int
- getMangaImage() : string|null
- getMangaMeta() : MangaMeta
- getMangaScore() : float|null
- getMangaUrl() : string
- getMembers() : int
- getModel() : MangaCard
- Return the model
- getPublishDates() : DateTimeImmutable|null
- getSerialization() : null|array<string|int, string>
- getThemes() : array<string|int, string>
- getTitle() : string
- getType() : string|null
- getVolumes() : int|null
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
MangaCardParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getAuthor()
public
getAuthor() : array<string|int, MalUrl>
Tags
Return values
array<string|int, MalUrl>getDemographics()
public
getDemographics() : array<string|int, string>
Tags
Return values
array<string|int, string>getDescription()
public
getDescription() : string
Tags
Return values
stringgetExplicitGenres()
public
getExplicitGenres() : array<string|int, mixed>|array<string|int, MalUrl>
Tags
Return values
array<string|int, mixed>|array<string|int, MalUrl>getGenres()
public
getGenres() : array<string|int, mixed>|array<string|int, MalUrl>
Tags
Return values
array<string|int, mixed>|array<string|int, MalUrl>getMalId()
public
getMalId() : int
Tags
Return values
intgetMangaImage()
public
getMangaImage() : string|null
Tags
Return values
string|nullgetMangaMeta()
public
getMangaMeta() : MangaMeta
Tags
Return values
MangaMetagetMangaScore()
public
getMangaScore() : float|null
Tags
Return values
float|nullgetMangaUrl()
public
getMangaUrl() : string
Tags
Return values
stringgetMembers()
public
getMembers() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : MangaCard
Tags
Return values
MangaCardgetPublishDates()
public
getPublishDates() : DateTimeImmutable|null
Tags
Return values
DateTimeImmutable|null —?\DateTimeImmutable
getSerialization()
public
getSerialization() : null|array<string|int, string>
Tags
Return values
null|array<string|int, string>getThemes()
public
getThemes() : array<string|int, string>
Tags
Return values
array<string|int, string>getTitle()
public
getTitle() : string
Tags
Return values
stringgetType()
public
getType() : string|null
Tags
Return values
string|nullgetVolumes()
public
getVolumes() : int|null