AnimeForumRequest
in package
implements
RequestInterface
Class AnimeForumRequest
Table of Contents
Interfaces
- RequestInterface
- Interface RequestInterface
Properties
- $id : int
- $topic : string
- $validTypes : array<string|int, mixed>
Methods
- __construct() : mixed
- AnimeForumRequest constructor.
- getId() : int
- getPath() : string
- Get the path to request
- getTopic() : string
- getValidTypes() : array<string|int, mixed>
Properties
$id
private
int
$id
$topic
private
string
$topic
$validTypes
private
static array<string|int, mixed>
$validTypes
= ['all', 'episode', 'other']
Methods
__construct()
AnimeForumRequest constructor.
public
__construct(int $id[, string|null $topic = null ]) : mixed
Parameters
- $id : int
- $topic : string|null = null
getId()
public
getId() : int
Return values
intgetPath()
Get the path to request
public
getPath() : string
Return values
stringgetTopic()
public
getTopic() : string
Return values
stringgetValidTypes()
public
static getValidTypes() : array<string|int, mixed>