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 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Control\Protocol\Status; | |
| 6 | ||
| 7 | use Stewart\Contracts\Time\Instant; | |
| 8 | use Stewart\Runtime\Lifecycle\AppFailurePhase; | |
| 9 | ||
| 10 | final 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 | } |