- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
29 lines
529 B
PHP
29 lines
529 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Framework\Health;
|
|
|
|
interface HealthCheckInterface
|
|
{
|
|
/**
|
|
* Perform the health check
|
|
*/
|
|
public function check(): HealthCheckResult;
|
|
|
|
/**
|
|
* Get the name of this health check
|
|
*/
|
|
public function getName(): string;
|
|
|
|
/**
|
|
* Get the category of this health check
|
|
*/
|
|
public function getCategory(): HealthCheckCategory;
|
|
|
|
/**
|
|
* Get the timeout for this health check in milliseconds
|
|
*/
|
|
public function getTimeout(): int;
|
|
}
|