Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Prooph
EventStore
Snapshot
Adapter
Adapter
PHP Interface Prooph\EventStore\Snapshot\Adapter\Adapter
Mostra file
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