Documentation

AnimeStatsParser
in package
implements ParserInterface

Class AnimeStatsParser

Table of Contents

Interfaces

ParserInterface
Interface ParserInterface

Properties

$crawler  : Crawler

Methods

__construct()  : mixed
AnimeParser constructor.
getCompleted()  : int
getDropped()  : int
getModel()  : AnimeStats
Return the model
getOnHold()  : int
getPlanToWatch()  : int
getScores()  : array<string|int, mixed>
getTotal()  : int
getWatching()  : int
sanitize()  : int

Properties

Methods

__construct()

AnimeParser constructor.

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

getCompleted()

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

getDropped()

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

getOnHold()

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

getPlanToWatch()

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

getScores()

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

getTotal()

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

getWatching()

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

sanitize()

private sanitize( $input) : int
Parameters
$input :
Return values
int

        
On this page

Search results