popRecordedEvents() защищенный Метод

Get pending events and reset stack
protected popRecordedEvents ( ) : AggregateChanged[]
Результат AggregateChanged[]
 /**
  * @param AggregateRoot $anAggregateRoot
  * @return \Prooph\EventSourcing\AggregateChanged[]
  */
 public function extractRecordedEvents(AggregateRoot $anAggregateRoot)
 {
     return $anAggregateRoot->popRecordedEvents();
 }