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