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
ExposedEntityCommand 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\Exposure;
6
7use Stewart\Contracts\App\AppId;
8use Stewart\Contracts\Exposure\Command\ExposedCommand;
9use Stewart\Contracts\Exposure\ExposedEntityKey;
10use Stewart\Runtime\Model\WorkerId;
11
12final readonly class ExposedEntityCommand
13{
14    public function __construct(
15        public string $commandId,
16        public ?WorkerId $owner,
17        public AppId $appId,
18        public ExposedEntityKey $key,
19        public ExposedCommand $command,
20    ) {}
21}