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
StateChangeBatch 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
3declare(strict_types=1);
4
5namespace Stewart\Runtime\Ipc\Message;
6
7use Stewart\Runtime\Ipc\Wire\StateChangesFragment;
8
9#[IpcMessage(tag: 'state_changes')]
10final readonly class StateChangeBatch implements BrokerMessage
11{
12    public function __construct(public StateChangesFragment $changes) {}
13
14    public function getOutboxDelivery(): OutboxDelivery
15    {
16        return OutboxDelivery::Plain;
17    }
18}