ReviewsRequest
in package
implements
RequestInterface
Class ReviewsRequest
Table of Contents
Interfaces
- RequestInterface
- Interface RequestInterface
Properties
- $page : int
- $preliminary : bool
- $sort : string
- $spoilers : bool
- $type : string
Methods
- __construct() : mixed
- getPath() : string
- Get the path to request
Properties
$page
private
int
$page
$preliminary
private
bool
$preliminary
$sort
private
string
$sort
$spoilers
private
bool
$spoilers
$type
private
string
$type
Methods
__construct()
public
__construct([mixed $type = Constants::ANIME ][, int $page = 1 ][, string $sort = Constants::REVIEWS_SORT_MOST_VOTED ][, bool $spoilers = true ][, bool $preliminary = true ]) : mixed
Parameters
- $type : mixed = Constants::ANIME
- $page : int = 1
- $sort : string = Constants::REVIEWS_SORT_MOST_VOTED
- $spoilers : bool = true
- $preliminary : bool = true
getPath()
Get the path to request
public
getPath() : string