public function makeWishAggregateVersion($address, $content) { if (count($this->wishes) >= self::MAX_WISHES) { throw new NoMoreWishesAllowedException(); } $this->wishes[] = new Wish(new WishId(), $this->id(), $address, $content); }