AddEditCountdownDTO
in package
Read onlyYes
FinalYes
DTO for editing & adding countdown
Table of Contents
Properties
Methods
- __construct() : mixed
- fromArray() : self
Properties
$countTo
public
DateTimeImmutable
$countTo
$title
public
string
$title
Methods
__construct()
public
__construct(string $title, DateTimeImmutable $countTo) : mixed
Parameters
- $title : string
- $countTo : DateTimeImmutable
fromArray()
public
static fromArray(array<string|int, mixed> $array) : self
Parameters
- $array : array<string|int, mixed>