CreateEventCategoryDto implements RequestDtoInterface
FinalYes
Table of Contents
Interfaces
Properties
- $attendees : array<string|int, mixed>
- $channelId : int|null
- $closed : bool
- $departmentIds : array<string|int, mixed>
- $description : string
- $isPrimary : bool|null
- $name : string
Methods
- __construct() : mixed
- fromRequest() : self
Properties
$attendees read-only
public
array<string|int, mixed>
$attendees
= []
$channelId read-only
public
int|null
$channelId
= null
$closed read-only
public
bool
$closed
= false
$departmentIds read-only
public
array<string|int, mixed>
$departmentIds
= []
$description read-only
public
string
$description
$isPrimary read-only
public
bool|null
$isPrimary
= null
$name read-only
public
string
$name
Methods
__construct()
public
__construct(string $name, string $description[, bool $closed = false ][, array<string|int, mixed> $attendees = [] ][, array<string|int, mixed> $departmentIds = [] ][, int|null $channelId = null ][, bool|null $isPrimary = null ]) : mixed
Parameters
- $name : string
- $description : string
- $closed : bool = false
- $attendees : array<string|int, mixed> = []
- $departmentIds : array<string|int, mixed> = []
- $channelId : int|null = null
- $isPrimary : bool|null = null
fromRequest()
public
static fromRequest(array<string|int, mixed> $request) : self
Parameters
- $request : array<string|int, mixed>