did; } public function getName(): string { return $this->name; } public function getPasswordScrypt(): string { return $this->passwordScrypt; } public function getCreatedAt(): DateTimeImmutable { return $this->createdAt; } public function isPrivileged(): bool { return $this->privileged; } /** * @return array */ #[\ReturnTypeWillChange] public function jsonSerialize(): array { return [ 'did' => $this->did, 'name' => $this->name, 'createdAt' => $this->createdAt->format(DATE_ATOM), 'privileged' => $this->privileged, ]; } }