mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 23:27:46 -04:00
28 lines
498 B
PHP
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;
|
|
}
|