Documentation

ProducerParser
in package
implements ParserInterface

Class ProducerParser

Table of Contents

Interfaces

ParserInterface
Interface ParserInterface

Properties

$crawler  : Crawler

Methods

__construct()  : mixed
ProducerParser constructor.
getAbout()  : string|null
getAnimeCount()  : int
getEstablished()  : DateTimeImmutable|null
getExternalLinks()  : array<string|int, mixed>
getFavorites()  : int|null
getHasNextPage()  : bool
getImages()  : WrapImageResource
getLastPage()  : int
getModel()  : Producer
Return the model
getResults()  : array<string|int, mixed>|array<string|int, ProducerAnime>
getTitles()  : array<string|int, mixed>
getUrl()  : MalUrl

Properties

Methods

__construct()

ProducerParser constructor.

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

getAbout()

public getAbout() : string|null
Return values
string|null

getEstablished()

public getEstablished() : DateTimeImmutable|null
Tags
throws
Exception
Return values
DateTimeImmutable|null
public getExternalLinks() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFavorites()

public getFavorites() : int|null
Return values
int|null

getHasNextPage()

public getHasNextPage() : bool
Return values
bool

getLastPage()

public getLastPage() : int
Tags
throws
InvalidArgumentException
Return values
int

getResults()

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

getTitles()

public getTitles() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results