/** * @param User $user * @return void */ public function save(User $user) { $recordedEvents = $user->getRecordedEvents(); $this->eventStore->append($recordedEvents); $this->projectionManager->notify($recordedEvents); }
/** * @param User $user * @return void */ public function save(User $user) { $recordedEvents = $user->getRecordedEvents(); $this->eventStore->append($recordedEvents); $this->projectionManager->notify($recordedEvents); }