Lines
0.00%
0 / 2
Functions and Methods
0.00%
0 / 2
Classes and Traits
0.00%
0 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Bootstrap | 0.00% | 0 / 2 | 0.00% | 0 / 2 | 6 | 0.00% | 0 / 1 | |||
| __construct | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | |||||
| getOutboxDelivery | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Ipc\Message; | |
| 6 | ||
| 7 | use Stewart\Contracts\Sun\GeoLocation; | |
| 8 | use Stewart\Runtime\Ipc\StoreSettings; | |
| 9 | use Stewart\Runtime\Ipc\Wire\AppIdsFragment; | |
| 10 | use Stewart\Runtime\Ipc\Wire\WorkerAppsFragment; | |
| 11 | use Stewart\Runtime\Ipc\WorkerSettings; | |
| 12 | use Stewart\Runtime\Model\WorkerId; | |
| 13 | ||
| 14 | #[IpcMessage(tag: 'bootstrap')] | |
| 15 | final readonly class Bootstrap implements BrokerMessage | |
| 16 | { | |
| 17 | public function __construct( | |
| 18 | public int $protocol, | |
| 19 | public WorkerId $workerId, | |
| 20 | public string $timeZone, | |
| 21 | public ?GeoLocation $location, | |
| 22 | public WorkerAppsFragment $apps, | |
| 23 | public WorkerSettings $settings, | |
| 24 | public ?StoreSettings $store, | |
| 25 | public AppIdsFragment $knownAppIds, | |
| 26 | public AppIdsFragment $pausedAppIds, | |
| 27 | public ?string $haUserId, | |
| 28 | ) {} | |
| 29 | ||
| 30 | public function getOutboxDelivery(): OutboxDelivery | |
| 31 | { | |
| 32 | return OutboxDelivery::Plain; | |
| 33 | } | |
| 34 | } |