Example #1
0
 private function applyMoneyWereDepositedEvent(MoneyWereDepositedEvent $event)
 {
     $this->balance += $event->getAmount();
 }
 public function getTimestamp()
 {
     return $this->event->getRecordedOn();
 }