final public function loadFromHistory(Iterator $events) : void
    {
        $bus = self::createInnerEventBus($this);
        foreach ($events as $event) {
            $this->handleEventInAggregate($event, $bus);
        }
    }
final public function loadFromHistory(Iterator $events) : void
    {
        $bus = self::createInnerEventBus($this);
        foreach ($events as $event) {
            $this->handleEventInAggregate($event, $bus);
        }
    }
final public function loadFromHistory ( Iterator $ events ) : void { $ bus = self :: createInnerEventBus ( $ this ) ; foreach ( $ events as $ event ) { $ this -> handleEventInAggregate ( $ event , $ bus ) ; } }
Useful in case of Event Sourcing.

@see EventSourcingRepository
@param Iterator $events DomainEvent iterator
Useful in case of Event Sourcing .