original_string: final public function loadFromHistory(Iterator $events) : void
      {
          $bus = self::createInnerEventBus($this);
          foreach ($events as $event) {
              $this->handleEventInAggregate($event, $bus);
          }
      }
code: final public function loadFromHistory(Iterator $events) : void
      {
          $bus = self::createInnerEventBus($this);
          foreach ($events as $event) {
              $this->handleEventInAggregate($event, $bus);
          }
      }
code_tokens: final public function loadFromHistory ( Iterator $ events ) : void { $ bus = self :: createInnerEventBus ( $ this ) ; foreach ( $ events as $ event ) { $ this -> handleEventInAggregate ( $ event , $ bus ) ; } }
docstring: Useful in case of Event Sourcing.
  
  @see EventSourcingRepository
  @param Iterator $events DomainEvent iterator
docstring_tokens: Useful in case of Event Sourcing .