DoctrineSnapshotStore
in package
implements
SnapshotStore
Read onlyYes
FinalYes
Tags
Table of Contents
Interfaces
Methods
- __construct() : mixed
- delete() : void
- load() : SnapshotEnvelope|null
- save() : void
Methods
__construct()
public
__construct(EntityManagerInterface $em[, MessageSerializer $serializer = new PhpNativeSerializer() ]) : mixed
Parameters
- $em : EntityManagerInterface
- $serializer : MessageSerializer = new PhpNativeSerializer()
delete()
public
delete(PersistenceId $id, int $maxSequenceNr) : void
Parameters
- $id : PersistenceId
- $maxSequenceNr : int
load()
public
load(PersistenceId $id) : SnapshotEnvelope|null
Parameters
- $id : PersistenceId
Return values
SnapshotEnvelope|nullsave()
public
save(PersistenceId $id, SnapshotEnvelope $snapshot) : void
Parameters
- $id : PersistenceId
- $snapshot : SnapshotEnvelope