did; } public function isActive(): bool { return $this->active; } public function getStatus(): ?string { return $this->status; } public function getRev(): ?string { return $this->rev; } /** * @return array */ #[\ReturnTypeWillChange] public function jsonSerialize(): array { $out = [ 'did' => $this->did, 'active' => $this->active, ]; if ($this->status !== null) { $out['status'] = $this->status; } if ($this->rev !== null) { $out['rev'] = $this->rev; } return $out; } }