| 1 | <?php |
||
| 11 | abstract class AbstractHealthIndicator implements HealthIndicatorInterface |
||
| 12 | { |
||
| 13 | public function health() |
||
| 24 | 36 | ||
| 25 | 3 | /** |
|
| 26 | * Actual health check logic. |
||
| 27 | * |
||
| 28 | * @param HealthBuilder $builder |
||
| 29 | * |
||
| 30 | * @throws \Exception any Exception that should create a Status::DOWN |
||
| 31 | * system status. |
||
| 32 | */ |
||
| 33 | abstract protected function doHealthCheck(HealthBuilder $builder); |
||
| 34 | } |
||
| 35 |