Documentation

AnimeGenreParser
in package
implements ParserInterface

Class GenreParser

Table of Contents

Interfaces

ParserInterface
Interface ParserInterface

Properties

$crawler  : Crawler

Methods

__construct()  : mixed
GenreParser constructor.
getCount()  : int
getDescription()  : string
getHasNextPage()  : bool
getLastPage()  : int
getMalId()  : int
getModel()  : AnimeGenre
Return the model
getName()  : string
getResults()  : array<string|int, mixed>|array<string|int, AnimeGenre>
getUrl()  : string

Properties

Methods

__construct()

GenreParser constructor.

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

getCount()

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

getLastPage()

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

getMalId()

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

getName()

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

getResults()

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

getUrl()

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

        
On this page

Search results