f7cloud_client/apps/support/lib/Detail.php
2026-03-05 13:40:40 +00:00

40 lines
726 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Support;
class Detail implements IDetail {
public function __construct(
private readonly string $section,
private readonly string $title,
private readonly string $information,
private readonly int $type,
) {
}
#[\Override]
public function getTitle(): string {
return $this->title;
}
#[\Override]
public function getSection(): string {
return $this->section;
}
#[\Override]
public function getInformation(): string {
return $this->information;
}
#[\Override]
public function getType(): int {
return $this->type;
}
}