DomainEvent
DomainEvent.php
:
14
Read-only
Final
Immutable value object representing a normalized repository domain event.
Properties¶
$actorId
¶
DomainEvent.php
:
23
|
|
|
$identifiers
¶
DomainEvent.php
:
24
|
|
|
$matchContexts
¶
DomainEvent.php
:
25
|
|
|
$occurredAt
¶
DomainEvent.php
:
22
|
|
|
$type
¶
DomainEvent.php
:
21
|
|
|
Methods¶
__construct()
¶
DomainEvent.php
:
20
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $type | string | - | - |
| $occurredAt | DateTimeImmutable | - | - |
| $actorId | int|null | - | - |
| $identifiers | array<string, int|string|array<int, string>> | - | - |
| $matchContexts | array<int, MatchContext> | - |
one per subject the event affects; empty when it has none |