GetOpenEventListDto implements RequestDtoInterface
FinalYes
Table of Contents
Interfaces
Properties
- $categoryId : int|null
- $fromMonth : int|null
- $fromYear : int|null
- $onlyCurrentUser : bool|null
- $onlyWithComments : bool|null
- $toMonth : int|null
- $toYear : int|null
Methods
- __construct() : mixed
- fromRequest() : self
Properties
$categoryId read-only
public
int|null
$categoryId
= null
$fromMonth read-only
public
int|null
$fromMonth
= null
$fromYear read-only
public
int|null
$fromYear
= null
$onlyCurrentUser read-only
public
bool|null
$onlyCurrentUser
= null
$onlyWithComments read-only
public
bool|null
$onlyWithComments
= null
$toMonth read-only
public
int|null
$toMonth
= null
$toYear read-only
public
int|null
$toYear
= null
Methods
__construct()
public
__construct([int|null $categoryId = null ][, bool|null $onlyCurrentUser = null ][, bool|null $onlyWithComments = null ][, int|null $fromYear = null ][, int|null $fromMonth = null ][, int|null $toYear = null ][, int|null $toMonth = null ]) : mixed
Parameters
- $categoryId : int|null = null
- $onlyCurrentUser : bool|null = null
- $onlyWithComments : bool|null = null
- $fromYear : int|null = null
- $fromMonth : int|null = null
- $toYear : int|null = null
- $toMonth : int|null = null
fromRequest()
public
static fromRequest(array<string|int, mixed> $request) : self
Parameters
- $request : array<string|int, mixed>