MangaStatsParser
in package
implements
ParserInterface
Class MangaStatsParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- AnimeParser constructor.
- getCompleted() : int
- getDropped() : int
- getModel() : MangaStats
- Return the model
- getOnHold() : int
- getPlanToRead() : int
- getReading() : int
- getScores() : array<string|int, mixed>
- getTotal() : int
- sanitize() : int
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
AnimeParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getCompleted()
public
getCompleted() : int
Tags
Return values
intgetDropped()
public
getDropped() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : MangaStats
Tags
Return values
MangaStatsgetOnHold()
public
getOnHold() : int
Tags
Return values
intgetPlanToRead()
public
getPlanToRead() : int
Tags
Return values
intgetReading()
public
getReading() : int
Tags
Return values
intgetScores()
public
getScores() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getTotal()
public
getTotal() : int
Tags
Return values
intsanitize()
private
sanitize( $input) : int