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 | ||
| 12 | final readonly class HistoryResult implements CorrelatedReply | |
| 13 | { | |
| 14 | public function __construct( | |
| 15 | public CorrelationId $correlationId, | |
| 16 | public HistoricalStatesFragment $states, | |
| 17 | ) {} | |
| 18 | ||
| 19 | public function getAnswer(): HistoricalStateCollection | |
| 20 | { | |
| 21 | return $this->states->collection; | |
| 22 | } | |
| 23 | ||
| 24 | public function getOutboxDelivery(): OutboxDelivery | |
| 25 | { | |
| 26 | return OutboxDelivery::Plain; | |
| 27 | } | |
| 28 | } |