ListDto implements RequestDtoInterface
FinalYes
Table of Contents
Interfaces
Properties
- $categoryId : int|null
- $isBanned : bool|null
- $page : int|null
- $query : string|null
Methods
- __construct() : mixed
- fromRequest() : self
Properties
$categoryId read-only
public
int|null
$categoryId
= null
$isBanned read-only
public
bool|null
$isBanned
= null
$page read-only
public
int|null
$page
= null
$query read-only
public
string|null
$query
= null
Methods
__construct()
public
__construct([bool|null $isBanned = null ][, string|null $query = null ][, int|null $page = null ][, int|null $categoryId = null ]) : mixed
Parameters
- $isBanned : bool|null = null
- $query : string|null = null
- $page : int|null = null
- $categoryId : int|null = null
fromRequest()
public
static fromRequest(array<string|int, mixed> $request) : self
Parameters
- $request : array<string|int, mixed>