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