Documentation

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

$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

getPath()

Get the path to request

public getPath() : string
Return values
string

getValidTypes()

public static getValidTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results