public function extractRecordedEvents(AggregateRoot $anAggregateRoot) { return $anAggregateRoot->popRecordedEvents(); }