Méthode | Description | |
---|---|---|
extractAggregateId ( object $eventSourcedAggregateRoot ) : string | ||
extractAggregateVersion ( object $eventSourcedAggregateRoot ) : integer | ||
extractPendingStreamEvents ( object $eventSourcedAggregateRoot ) : Prooph\Common\Messaging\Message[] | ||
reconstituteAggregateFromHistory ( |
||
replayStreamEvents ( $anEventSourcedAggregateRoot, Iterator $events ) |
public extractAggregateId ( object $eventSourcedAggregateRoot ) : string | ||
$eventSourcedAggregateRoot | object | |
Résultat | string |
public extractAggregateVersion ( object $eventSourcedAggregateRoot ) : integer | ||
$eventSourcedAggregateRoot | object | |
Résultat | integer |
public extractPendingStreamEvents ( object $eventSourcedAggregateRoot ) : Prooph\Common\Messaging\Message[] | ||
$eventSourcedAggregateRoot | object | |
Résultat | Prooph\Common\Messaging\Message[] |
public reconstituteAggregateFromHistory ( |
||
$aggregateType | ||
$historyEvents | Iterator | |
Résultat | object | reconstructed EventSourcedAggregateRoot |
public replayStreamEvents ( $anEventSourcedAggregateRoot, Iterator $events ) | ||
$anEventSourcedAggregateRoot | ||
$events | Iterator |