HealthReport.php
Pfad: src/Domain/Health/HealthReport.php
Ext: php
Größe: 529 Bytes
Geändert: 2026-07-15 16:12:03+02
<?php
declare(strict_types=1);
namespace Demo\Domain\Health;
/**
* Value Object: unveraenderliches Ergebnis einer Systempruefung.
* Reine Domaene ohne Infrastruktur-Bezug.
*/
final class HealthReport
{
/**
* Haelt das Pruefergebnis fest.
*
* @param bool $healthy Ob das System als gesund gilt.
* @param string $detail Kurze, nicht sensible Zustandsbeschreibung.
*/
public function __construct(
public readonly bool $healthy,
public readonly string $detail
) {
}
}