final class EventNormalizer (View source)

Central authority to convert Content Repository domain events to Event Store EventData and EventType, vice versa.

For normalizing (from classes to event store), this is called from {\Neos\ContentRepository\Core\ContentRepository::normalizeEvent()}.

For denormalizing (from event store to classes), this is called in the individual projections; f.e. {\Neos\ContentRepository\Core\EventStore\ContentGraphProjection::apply()}.

Methods

__construct()

No description

EventData
getEventData(EventInterface $event)

No description

EventType
getEventType(EventInterface $event)

No description

string
getEventClassName(Event $event)

No description

denormalize(Event $event)

No description

Details

__construct()

internal  never instanciate this object yourself
 

No description

EventData getEventData(EventInterface $event)

No description

Parameters

EventInterface $event

Return Value

EventData

EventType getEventType(EventInterface $event)

No description

Parameters

EventInterface $event

Return Value

EventType

string getEventClassName(Event $event)

No description

Parameters

Event $event

Return Value

string

EventInterface denormalize(Event $event)

No description

Parameters

Event $event

Return Value

EventInterface