cid; } public function getMimeType(): string { return $this->mimeType; } public function getSize(): int { return $this->size; } public function getTempKey(): ?string { return $this->tempKey; } public function getCreatedAt(): DateTimeImmutable { return $this->createdAt; } public function getTakedownRef(): ?string { return $this->takedownRef; } /** * @return array */ #[\ReturnTypeWillChange] public function jsonSerialize(): array { return [ 'cid' => $this->cid, 'mimeType' => $this->mimeType, 'size' => $this->size, 'tempKey' => $this->tempKey, 'createdAt' => $this->createdAt->format(DATE_ATOM), 'takedownRef' => $this->takedownRef, ]; } }