Lines 100.00% 1 / 1
Functions and Methods 100.00% 1 / 1
Classes and Traits 100.00% 1 / 1
Name Lines Functions and Methods CRAP Classes and Traits
ReloadResult 100.00% 1 / 1 100.00% 1 / 1 1 100.00% 1 / 1
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Runtime\Broker\Reload;
6
7use Stewart\Contracts\Time\Instant;
8use Stewart\Runtime\Lifecycle\ReloadOutcome;
9
10final readonly class ReloadResult
11{
12    /** @param list<string> $settingsNeedingRestart */
13    public function __construct(
14        public ReloadOutcome $outcome,
15        public Instant $finishedAt,
16        public ?string $error = null,
17        public array $settingsNeedingRestart = [],
18    ) {}
19}