Prooph\EventSourcing\EventStoreIntegration\AggregateRootDecorator::extractRecordedEvents PHP 메소드

extractRecordedEvents() 공개 메소드

public extractRecordedEvents ( AggregateRoot $anAggregateRoot ) : AggregateChanged[]
$anAggregateRoot Prooph\EventSourcing\AggregateRoot
리턴 Prooph\EventSourcing\AggregateChanged[]
    public function extractRecordedEvents(AggregateRoot $anAggregateRoot)
    {
        return $anAggregateRoot->popRecordedEvents();
    }