public function __construct(WishId $wishId) { $this->wishId = $wishId; $this->occurredOn = new \DateTimeImmutable(); }