Méthode | Description | |
---|---|---|
__construct ( Prooph\EventStore\Metadata\MetadataEnricher $metadataEnricher ) | ||
onEventStoreAppendToStream ( Prooph\Common\Event\ActionEvent $appendToStreamEvent ) | Add event metadata on event store appendToStream. | |
onEventStoreCreateStream ( Prooph\Common\Event\ActionEvent $createEvent ) | Add event metadata on event store createStream. | |
setUp ( |
Méthode | Description | |
---|---|---|
handleRecordedEvents ( Iterator $events ) : Iterator | This method takes domain events as argument which are going to be added to the event stream and add the metadata via the MetadataEnricher. |
public __construct ( Prooph\EventStore\Metadata\MetadataEnricher $metadataEnricher ) | ||
$metadataEnricher | Prooph\EventStore\Metadata\MetadataEnricher |
public onEventStoreAppendToStream ( Prooph\Common\Event\ActionEvent $appendToStreamEvent ) | ||
$appendToStreamEvent | Prooph\Common\Event\ActionEvent |
public onEventStoreCreateStream ( Prooph\Common\Event\ActionEvent $createEvent ) | ||
$createEvent | Prooph\Common\Event\ActionEvent |
public setUp ( |
||
$eventStore |