Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Prooph
EventStore
Snapshot
Adapter
Adapter
PHP Interface Prooph\EventStore\Snapshot\Adapter\Adapter
Datei anzeigen
Open project: prooph/event-store
Interface Usage Examples
Public Methods
Method
Description
get
(
AggregateType
$aggregateType
,
string
$aggregateId
) :
Snapshot
Get the aggregate root if it exists otherwise null
save
(
Snapshot
$snapshot
) :
void
Save a snapshot
Method Details
get()
public
method
Get the aggregate root if it exists otherwise null
public
get
(
AggregateType
$aggregateType
,
string
$aggregateId
) :
Snapshot
$aggregateType
Prooph\EventStore\Aggregate\AggregateType
$aggregateId
string
return
Prooph\EventStore\Snapshot\Snapshot
save()
public
method
Save a snapshot
public
save
(
Snapshot
$snapshot
) :
void
$snapshot
Prooph\EventStore\Snapshot\Snapshot
return
void