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
WorkerSettings 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\Ipc;
6
7use Stewart\Contracts\Time\Duration;
8use Stewart\Runtime\Model\LogLevel;
9
10final readonly class WorkerSettings
11{
12    public function __construct(
13        public LogLevel $logLevel,
14        public Duration $callTimeout,
15        public Duration $shutdownGrace,
16        public int $subscriptionBuffer,
17        public ?Duration $initializeTimeout,
18        public ?string $servicesFile,
19        public string $generatedNamespace,
20        public bool $mqttEnabled,
21    ) {}
22}