19 declare(strict_types=1);
    34     protected int $status = self::STATUS_NO_ACTION;
    46             self::CODE_MANUAL_RESET,
    47             self::CODE_SUPPOSED_CRASH,
    60                 'The passed status "%s" is not valid, must be of one of: %s',
    66         $this->status = $a_value;
    75             self::STATUS_INVALID_CONFIGURATION,
    76             self::STATUS_NO_ACTION,
    91         $value = trim($value);
    96         $this->message = $value;
   104     public function setCode(
string $a_value): void
   106         if (!in_array($a_value, self::getCoreCodes(), 
true)) {
   108                 'The passed code "%s" is not valid, must be of one of: %s',
   110                 implode(
', ', self::getCoreCodes())
   114         $this->code = $a_value;
   124         $this->duration = number_format($a_value, 3, 
'.', 
'');
 setMessage(string $value)
 
final const CODE_MANUAL_RESET
 
final const STATUS_INVALID_CONFIGURATION
 
final const CODE_NO_RESULT
 
static strLen(string $a_string)
 
final const STATUS_NO_ACTION
 
setDuration(float $a_value)
 
final const STATUS_CRASHED
 
final const CODE_SUPPOSED_CRASH