Свойство | Type | Description | |
---|---|---|---|
$aggregateRootDecorator |
Méthode | Description | |
---|---|---|
extractAggregateId ( object $anEventSourcedAggregateRoot ) : string | ||
extractAggregateVersion ( object $eventSourcedAggregateRoot ) : integer | ||
extractPendingStreamEvents ( object $anEventSourcedAggregateRoot ) : Prooph\Common\Messaging\Message[] | ||
getAggregateRootDecorator ( ) : |
||
reconstituteAggregateFromHistory ( |
||
replayStreamEvents ( object $anEventSourcedAggregateRoot, Iterator $events ) | ||
setAggregateRootDecorator ( |
public extractAggregateId ( object $anEventSourcedAggregateRoot ) : string | ||
$anEventSourcedAggregateRoot | object | |
Résultat | string |
public extractAggregateVersion ( object $eventSourcedAggregateRoot ) : integer | ||
$eventSourcedAggregateRoot | object | |
Résultat | integer |
public extractPendingStreamEvents ( object $anEventSourcedAggregateRoot ) : Prooph\Common\Messaging\Message[] | ||
$anEventSourcedAggregateRoot | object | |
Résultat | Prooph\Common\Messaging\Message[] |
public getAggregateRootDecorator ( ) : |
||
Résultat |
public reconstituteAggregateFromHistory ( |
||
$aggregateType | ||
$historyEvents | Iterator | |
Résultat | object | reconstructed AggregateRoot |
public replayStreamEvents ( object $anEventSourcedAggregateRoot, Iterator $events ) | ||
$anEventSourcedAggregateRoot | object | |
$events | Iterator |
public setAggregateRootDecorator ( |
||
$anAggregateRootDecorator |