Documentation

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

Methods

__construct()

MangaCardParser constructor.

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

getAuthor()

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

getDemographics()

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

getDescription()

public getDescription() : string
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
string

getExplicitGenres()

public getExplicitGenres() : array<string|int, mixed>|array<string|int, MalUrl>
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
array<string|int, mixed>|array<string|int, MalUrl>

getGenres()

public getGenres() : array<string|int, mixed>|array<string|int, MalUrl>
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
array<string|int, mixed>|array<string|int, MalUrl>

getMalId()

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

getMangaImage()

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

getMangaScore()

public getMangaScore() : float|null
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
float|null

getMangaUrl()

public getMangaUrl() : string
Tags
throws
InvalidArgumentException
throws
RuntimeException
Return values
string

getMembers()

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

getPublishDates()

public getPublishDates() : DateTimeImmutable|null
Tags
throws
InvalidArgumentException
Return values
DateTimeImmutable|null

?\DateTimeImmutable

getSerialization()

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

getThemes()

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

getTitle()

public getTitle() : string
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
string

getType()

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

getVolumes()

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

        
On this page

Search results