mirror of
https://github.com/nextcloud/server.git
synced 2026-11-03 21:12:20 +01:00
Allow other apps to add additional section to the system report. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
27 lines
590 B
PHP
27 lines
590 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCP\SystemReport;
|
|
|
|
/**
|
|
* @since 36.0.0
|
|
*/
|
|
interface ISystemReportManager {
|
|
/**
|
|
* Resolve every registered \OCP\SystemReport\ISystemReportSection and
|
|
* return its contributed sections. A section whose resolution or
|
|
* getDetails() call throws is skipped and logged rather than aborting
|
|
* the whole report.
|
|
*
|
|
* @return ISystemReportSection[]
|
|
* @since 36.0.0
|
|
*/
|
|
public function getSections(): array;
|
|
}
|