seq; } public function getDid(): string { return $this->did; } public function getEventType(): string { return $this->eventType; } public function getEvent(): string { return $this->event; } public function getSequencedAt(): DateTimeImmutable { return $this->sequencedAt; } public function isInvalidated(): bool { return $this->invalidated; } /** * @return array */ #[\ReturnTypeWillChange] public function jsonSerialize(): array { return [ 'seq' => $this->seq, 'did' => $this->did, 'eventType' => $this->eventType, 'sequencedAt' => $this->sequencedAt->format(DATE_ATOM), 'invalidated' => $this->invalidated, ]; } }