NewsSearchRequest
in package
implements
RequestInterface
Class NewsSearchRequest
Table of Contents
Interfaces
- RequestInterface
- Interface RequestInterface
Properties
Methods
- __construct() : mixed
- AnimeRequest constructor.
- getPage() : int
- getPath() : string
- Get the path to request
- getQuery() : string
Properties
$page
private
int
$page
$query
private
string
$query
Methods
__construct()
AnimeRequest constructor.
public
__construct(string $query[, int $page = 1 ]) : mixed
Parameters
- $query : string
- $page : int = 1
getPage()
public
getPage() : int
Return values
intgetPath()
Get the path to request
public
getPath() : string
Return values
stringgetQuery()
public
getQuery() : string