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
ReloadPlan 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\Broker\Reload;
6
7use Stewart\Runtime\App\AppCatalog;
8use Stewart\Runtime\App\DiscoveryResult;
9use Stewart\Runtime\Broker\Collection\WorkerSlotCollection;
10use Stewart\Runtime\Broker\GeneratedManifest;
11
12final readonly class ReloadPlan
13{
14    /** @param list<string> $settingsNeedingRestart */
15    public function __construct(
16        public DiscoveryResult $discovered,
17        public AppCatalog $catalog,
18        public WorkerSlotCollection $workerSlots,
19        public array $settingsNeedingRestart,
20        public ?GeneratedManifest $generated,
21    ) {}
22}