Lines
0.00%
0 / 3
Methods
0.00%
0 / 3
Classes
0.00%
0 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __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 | ||
| 11 | final readonly class ServiceCallResult implements CorrelatedReply | |
| 12 | { | |
| 13 | public function __construct( | |
| 14 | public CorrelationId $correlationId, | |
| 15 | public ServiceResponse $result, | |
| 16 | ) {} | |
| 17 | ||
| 18 | public function getAnswer(): ServiceResponse | |
| 19 | { | |
| 20 | return $this->result; | |
| 21 | } | |
| 22 | ||
| 23 | public function getOutboxDelivery(): OutboxDelivery | |
| 24 | { | |
| 25 | return OutboxDelivery::Plain; | |
| 26 | } | |
| 27 | } |