nextcloud/lib/public/SetupCheck/ISetupCheck.php
Côme Chilliet 1202171b32
Fix docblock and types for new public API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00

29 lines
499 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 28.0.0
*/
interface ISetupCheck {
/**
* @since 28.0.0
*/
public function getCategory(): string;
/**
* @since 28.0.0
*/
public function getName(): string;
/**
* @since 28.0.0
*/
public function run(): SetupResult;
}