AnimeGenre
extends Results
in package
implements
Pagination
Class AnimeGenre
Table of Contents
Interfaces
- Pagination
- Class Pagination
Properties
- $count : int
- $results : array<string|int, mixed>
- $description : string
- $hasNextPage : bool
- $lastVisiblePage : int
- $malId : int
- $name : string
- $url : string
Methods
- fromParser() : AnimeGenre
- getCount() : int
- getDescription() : string
- getLastVisiblePage() : int
- getMalId() : int
- getName() : string
- getResults() : array<string|int, mixed>
- getUrl() : string
- hasNextPage() : bool
- setResults() : Results
Properties
$count
public
int
$count
$results
protected
array<string|int, mixed>
$results
= []
$description
private
string
$description
$hasNextPage
private
bool
$hasNextPage
= false
$lastVisiblePage
private
int
$lastVisiblePage
= 1
$malId
private
int
$malId
$name
private
string
$name
$url
private
string
$url
Methods
fromParser()
public
static fromParser(AnimeGenreParser $parser) : AnimeGenre
Parameters
- $parser : AnimeGenreParser
Tags
Return values
AnimeGenregetCount()
public
getCount() : int
Return values
intgetDescription()
public
getDescription() : string
Return values
stringgetLastVisiblePage()
public
getLastVisiblePage() : int
Return values
intgetMalId()
public
getMalId() : int
Return values
intgetName()
public
getName() : string
Return values
stringgetResults()
public
getResults() : array<string|int, mixed>
Return values
array<string|int, mixed>getUrl()
public
getUrl() : string
Return values
stringhasNextPage()
public
hasNextPage() : bool
Return values
boolsetResults()
public
setResults(array<string|int, mixed> $results) : Results
Parameters
- $results : array<string|int, mixed>