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