Lines 0.00% 0 / 3
Functions and Methods 0.00% 0 / 3
Classes and Traits 0.00% 0 / 1
Name Lines Functions and Methods CRAP Classes and Traits
ExposureAcknowledged 0.00% 0 / 3 0.00% 0 / 3 12 0.00% 0 / 1
 __construct 0.00% 0 / 1 0.00% 0 / 1 2
 getAnswer 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\Model\CorrelationId;
8
9#[IpcMessage(tag: 'exposure_acknowledged')]
10final readonly class ExposureAcknowledged implements CorrelatedReply
11{
12    public function __construct(public CorrelationId $correlationId) {}
13
14    public function getAnswer(): self
15    {
16        return $this;
17    }
18
19    public function getOutboxDelivery(): OutboxDelivery
20    {
21        return OutboxDelivery::Plain;
22    }
23}