purpose; } public function getDid(): string { return $this->did; } public function getToken(): string { return $this->token; } public function getRequestedAt(): DateTimeImmutable { return $this->requestedAt; } /** * @return array */ #[\ReturnTypeWillChange] public function jsonSerialize(): array { return [ 'purpose' => $this->purpose, 'did' => $this->did, 'requestedAt' => $this->requestedAt->format(DATE_ATOM), ]; } }