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
$crawler
private
Crawler
$crawler
Methods
__construct()
GenreParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getCount()
public
getCount() : int
Tags
Return values
intgetDescription()
public
getDescription() : string
Return values
stringgetHasNextPage()
public
getHasNextPage() : bool
Return values
boolgetLastPage()
public
getLastPage() : int
Tags
Return values
intgetMalId()
public
getMalId() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : AnimeGenre
Tags
Return values
AnimeGenregetName()
public
getName() : string
Tags
Return values
stringgetResults()
public
getResults() : array<string|int, mixed>|array<string|int, AnimeGenre>
Tags
Return values
array<string|int, mixed>|array<string|int, AnimeGenre>getUrl()
public
getUrl() : string