Files
nextcloud-mail/lib/Cache/HordeSyncToken.php
Christoph Wurst b62227351d refactor: mark DTO classes as final
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-06-06 09:07:49 +02:00

32 lines
564 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Mail\Cache;
final class HordeSyncToken {
public function __construct(
private ?int $nextUid,
private ?int $uidValidity,
private ?int $highestModSeq,
) {
}
public function getNextUid(): ?int {
return $this->nextUid;
}
public function getUidValidity(): ?int {
return $this->uidValidity;
}
public function getHighestModSeq(): ?int {
return $this->highestModSeq;
}
}