PHP 인터페이스 Prooph\EventStore\Snapshot\Adapter\Adapter

파일 보기 프로젝트 열기: prooph/event-store 0 사용 예제들

공개 메소드들

메소드 설명
get ( AggregateType $aggregateType, string $aggregateId ) : Snapshot Get the aggregate root if it exists otherwise null
save ( Snapshot $snapshot ) : void Save a snapshot

메소드 상세

get() 공개 메소드

Get the aggregate root if it exists otherwise null
public get ( AggregateType $aggregateType, string $aggregateId ) : Snapshot
$aggregateType Prooph\EventStore\Aggregate\AggregateType
$aggregateId string
리턴 Prooph\EventStore\Snapshot\Snapshot

save() 공개 메소드

Save a snapshot
public save ( Snapshot $snapshot ) : void
$snapshot Prooph\EventStore\Snapshot\Snapshot
리턴 void