mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
26 lines
466 B
PHP
26 lines
466 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace NCU\FullTextSearch\Model;
|
|
|
|
final readonly class UnindexedDocument {
|
|
public function __construct(
|
|
private string $id,
|
|
private int $lastModified,
|
|
) {
|
|
}
|
|
|
|
public function getId(): string {
|
|
return $this->id;
|
|
}
|
|
|
|
public function getLastModified(): int {
|
|
return $this->lastModified;
|
|
}
|
|
}
|