EventCreateStruct
EventCreateStruct.php
:
14
Read-only
Final
Constants¶
MAX_ENTITY_ID_LENGTH ¶
EventCreateStruct.php
:
16
|
|
|
Properties¶
$actorId
¶
EventCreateStruct.php
:
34
|
|
|
Attributes
- #[Positive]
$entityId
¶
EventCreateStruct.php
:
31
|
|
|
Attributes
- #[Length]
- $max: self::MAX_ENTITY_ID_LENGTH
- #[NotBlank]
- $normalizer: 'trim'
$entityType
¶
EventCreateStruct.php
:
28
|
|
|
Attributes
- #[Length]
- $max: 64
- #[NotBlank]
$eventId
¶
EventCreateStruct.php
:
22
|
|
|
Attributes
- #[NotBlank]
- #[Uuid]
$eventType
¶
EventCreateStruct.php
:
25
|
|
|
Attributes
- #[Length]
- $max: 128
- #[NotBlank]
$payload
¶
EventCreateStruct.php
:
39
|
|
|
$siteContext
¶
EventCreateStruct.php
:
36
|
|
|
Attributes
- #[Length]
- $max: 255
$timestamp
¶
EventCreateStruct.php
:
38
|
|
|
Methods¶
__construct()
¶
EventCreateStruct.php
:
21
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $eventId | string | - | - |
| $eventType | string | - | - |
| $entityType | string | - | - |
| $entityId | string | - | - |
| $actorId | int|null | - | - |
| $siteContext | string|null | - | - |
| $timestamp | DateTimeImmutable | - | - |
| $payload | array<string, mixed> | - | - |