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
AppDefinition 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\App;
6
7use Stewart\Contracts\App\AppId;
8use Stewart\Runtime\Model\AppVerbosity;
9
10final readonly class AppDefinition
11{
12    /**
13     * @param class-string $class
14     * @param array<string, mixed> $options
15     */
16    public function __construct(
17        public AppId $id,
18        public string $class,
19        public array $options = [],
20        public ?int $worker = null,
21        public bool $startsPaused = false,
22        public AppVerbosity $verbosity = new AppVerbosity(),
23    ) {}
24}