Episodes
extends Results
in package
implements
Pagination
Class Episodes
Table of Contents
Interfaces
- Pagination
- Class Pagination
Properties
- $results : array<string|int, mixed>
- $hasNextPage : bool
- $lastVisiblePage : int
Methods
- fromParser() : Episodes
- getLastVisiblePage() : int
- getResults() : array<string|int, mixed>
- hasNextPage() : bool
- setResults() : Results
Properties
$results
protected
array<string|int, mixed>
$results
= []
$hasNextPage
private
bool
$hasNextPage
= false
$lastVisiblePage
private
int
$lastVisiblePage
= 1
Methods
fromParser()
public
static fromParser(WatchEpisodesParser $parser) : Episodes
Parameters
- $parser : WatchEpisodesParser
Tags
Return values
EpisodesgetLastVisiblePage()
public
getLastVisiblePage() : int
Return values
intgetResults()
public
getResults() : array<string|int, mixed>
Return values
array<string|int, mixed>hasNextPage()
public
hasNextPage() : bool
Return values
boolsetResults()
public
setResults(array<string|int, mixed> $results) : Results
Parameters
- $results : array<string|int, mixed>