Méthode |
Description |
|
__construct ( Prooph\EventStore\Adapter\Adapter $adapter, Prooph\Common\Event\ActionEventEmitter $actionEventEmitter ) |
Constructor |
|
appendTo ( StreamName $streamName, Iterator $streamEvents ) : void |
|
|
beginTransaction ( ) |
Begin transaction |
|
commit ( ) |
Commit transaction |
|
create ( Stream $stream ) : void |
|
|
getActionEventEmitter ( ) : Prooph\Common\Event\ActionEventEmitter |
|
|
getAdapter ( ) : Prooph\EventStore\Adapter\Adapter |
Get the active EventStoreAdapter |
|
getRecordedEvents ( ) : Iterator |
|
|
isInTransaction ( ) : boolean |
|
|
load ( StreamName $streamName, null | integer $minVersion = null ) : Stream |
|
|
loadEventsByMetadataFrom ( StreamName $streamName, array $metadata, null | integer $minVersion = null ) : Iterator |
|
|
replay ( array $streamNames, DateTimeInterface $since = null, array $metadatas = null ) : CompositeIterator |
|
|
rollback ( ) |
Rollback transaction |
|
transactional ( callable $callable ) : mixed |
|
|