Documentation

Reviews extends Results implements Pagination

Class Reviews

Table of Contents

Interfaces

Pagination
Class Pagination

Properties

$results  : array<string|int, mixed>
$hasNextPage  : bool
$lastVisiblePage  : int

Methods

fromParser()  : Reviews
getLastVisiblePage()  : int
getResults()  : array<string|int, mixed>
hasNextPage()  : bool
mock()  : static
setResults()  : Results

Properties

$results

protected array<string|int, mixed> $results = []

$hasNextPage

private bool $hasNextPage = false

$lastVisiblePage

private int $lastVisiblePage = 1

Methods

getLastVisiblePage()

public getLastVisiblePage() : int
Return values
int

getResults()

public getResults() : array<string|int, mixed>
Return values
array<string|int, mixed>

hasNextPage()

public hasNextPage() : bool
Return values
bool

mock()

public static mock() : static
Return values
static

setResults()

public setResults(array<string|int, mixed> $results) : Results
Parameters
$results : array<string|int, mixed>
Return values
Results

        
On this page

Search results