Documentation

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

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
Return values
string

        
On this page

Search results