Prooph\EventSourcing\EventStoreIntegration\AggregateRootDecorator::extractRecordedEvents PHP Method

extractRecordedEvents() public method

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