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
$crawler
private
Crawler
$crawler
Methods
__construct()
ProducerParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getAbout()
public
getAbout() : string|null
Return values
string|nullgetAnimeCount()
public
getAnimeCount() : int
Return values
intgetEstablished()
public
getEstablished() : DateTimeImmutable|null
Tags
Return values
DateTimeImmutable|nullgetExternalLinks()
public
getExternalLinks() : array<string|int, mixed>
Return values
array<string|int, mixed>getFavorites()
public
getFavorites() : int|null
Return values
int|nullgetHasNextPage()
public
getHasNextPage() : bool
Return values
boolgetImages()
public
getImages() : WrapImageResource
Return values
WrapImageResourcegetLastPage()
public
getLastPage() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : Producer
Tags
Return values
ProducergetResults()
public
getResults() : array<string|int, mixed>|array<string|int, ProducerAnime>
Tags
Return values
array<string|int, mixed>|array<string|int, ProducerAnime>getTitles()
public
getTitles() : array<string|int, mixed>
Return values
array<string|int, mixed>getUrl()
public
getUrl() : MalUrl