nextcloud/lib/public/SetupCheck/ISetupCheck.php
Carl Schwan c71e47f5c3
Progress
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00

28 lines
498 B
PHP

<?php
declare(strict_types=1);
namespace OCP\SetupCheck;
/**
* This interface needs to be implemented if you want to provide custom
* setup checks in your application. The results of these checks will them
* be displayed in the admin overview.
*
* @since 25.0.0
*/
interface ISetupCheck {
/**
* @since 25.0.0
*/
public function getCategory(): string;
/**
* @since 25.0.0
*/
public function getName(): string;
/**
* @since 25.0.0
*/
public function run(): SetupResult;
}