CharacterSearchRequest
in package
implements
RequestInterface
Class CharacterSearchRequest
Table of Contents
Interfaces
- RequestInterface
- Interface RequestInterface
Properties
Methods
- __construct() : mixed
- CharacterSearchRequest constructor.
- getChar() : string
- getPage() : int
- getPath() : string
- Get the path to request
- getQuery() : string
- setPage() : $this
- setQuery() : $this
- setStartsWithChar() : $this
Properties
$char
private
string
$char
$page
private
int
$page
$query
private
string
$query
Methods
__construct()
CharacterSearchRequest constructor.
public
__construct([string|null $query = null ][, int $page = 1 ]) : mixed
Parameters
- $query : string|null = null
- $page : int = 1
getChar()
public
getChar() : string
Return values
stringgetPage()
public
getPage() : int
Return values
intgetPath()
Get the path to request
public
getPath() : string
Return values
stringgetQuery()
public
getQuery() : string
Return values
stringsetPage()
public
setPage(int $page) : $this
Parameters
- $page : int
Return values
$thissetQuery()
public
setQuery([null|string $query = null ]) : $this
Parameters
- $query : null|string = null
Return values
$thissetStartsWithChar()
public
setStartsWithChar(string $char) : $this
Parameters
- $char : string