final class ConflictingEvent (View source)

Methods

__construct(EventInterface $event, Throwable $exception, SequenceNumber $sequenceNumber)

No description

getAffectedNodeAggregateId()

The node aggregate id of the conflicting event

getException()

The exception for the conflict

SequenceNumber
getSequenceNumber()

The event store sequence number of the event containing the command to be rebased

getEvent()

The event that conflicts

Details

__construct(EventInterface $event, Throwable $exception, SequenceNumber $sequenceNumber)

internal  
 

No description

Parameters

EventInterface $event
Throwable $exception
SequenceNumber $sequenceNumber

NodeAggregateId|null getAffectedNodeAggregateId()

The node aggregate id of the conflicting event

Return Value

NodeAggregateId|null

Throwable getException()

The exception for the conflict

Return Value

Throwable

SequenceNumber getSequenceNumber()

internal  exposed for testing
 

The event store sequence number of the event containing the command to be rebased

Return Value

SequenceNumber

EventInterface getEvent()

internal  exposed for testing and experimental use cases
 

The event that conflicts

Return Value

EventInterface