/** * {@inheritdoc} */ public function get(Identifies $aggregateId) { $envelopeStream = $this->eventStore->read($aggregateId); $history = $this->eventWrapper->unwrap($envelopeStream); return $this->aggregateFactory->reconstituteFromHistory($history); }
/** * {@inheritdoc} */ public function read(Identifies $aggregateId) { return $this->next->read($aggregateId); }