EventNormalizer
final class EventNormalizer (View source)
| internal | inside projections the event will already be denormalized |
Central authority to convert Content Repository domain events to Event Store EventData and EventType, vice versa.
- For normalizing (from classes to event store)
- For denormalizing (from event store to classes)
Methods
static EventNormalizer
create()
No description
string
getEventClassName(Event $event)
No description
Event
denormalize(Event $event)
No description
Details
static EventNormalizer
create()
| internal | never instantiate this object yourself |
No description
string
getEventClassName(Event $event)
No description
Event
normalize(EventInterface|DecoratedEvent $event)
No description
EventInterface
denormalize(Event $event)
No description