DoDomuDojade Documentation

EditAnnouncementDTO
in package

Read onlyYes
FinalYes

Data Transfer Object for editing announcements

Table of Contents

Properties

$status  : AnnouncementStatus|null
$text  : string
$title  : string
$validUntil  : DateTimeImmutable

Methods

__construct()  : mixed
fromArray()  : self
Creates DTO from an array

Properties

Methods

fromArray()

Creates DTO from an array

public static fromArray(array<string|int, mixed> $array) : self
Parameters
$array : array<string|int, mixed>
Tags
throws
AnnouncementException
throws
DateMalformedStringException
Return values
self

        
On this page

Search results