Lines 0.00% 0 / 1
Functions and Methods 0.00% 0 / 1
Classes and Traits 0.00% 0 / 1
Name Lines Functions and Methods CRAP Classes and Traits
FailureReport 0.00% 0 / 1 0.00% 0 / 1 2 0.00% 0 / 1
 __construct 0.00% 0 / 1 0.00% 0 / 1 2
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Runtime\Control\Protocol\Status;
6
7use Stewart\Contracts\Time\Instant;
8use Stewart\Runtime\Lifecycle\AppFailurePhase;
9
10final readonly class FailureReport
11{
12    public function __construct(
13        public AppFailurePhase $phase,
14        public string $class,
15        public string $message,
16        public ?string $origin,
17        public ?string $reason,
18        public Instant $at,
19    ) {}
20}