Completed
Push — master ( 4803b3...959101 )
by Frank
03:46
created

DummyDecoratedEvent::toPayload()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace EventSauce\EventSourcing\Integration\DecoratingMessages;
4
5
use EventSauce\EventSourcing\AggregateRootId;
6
use EventSauce\EventSourcing\Event;
7
use EventSauce\EventSourcing\PointInTime;
8
9
/**
10
 * @codeCoverageIgnore
11
 */
12
class DummyDecoratedEvent implements Event
13
{
14
    public function aggregateRootId(): AggregateRootId
15
    {
16
17
    }
18
19
    public function eventVersion(): int
20
    {
21
22
    }
23
24
    public function timeOfRecording(): PointInTime
25
    {
26
27
    }
28
29
    public function toPayload(): array
30
    {
31
32
    }
33
34
    public static function fromPayload(array $payload, AggregateRootId $aggregateRootId, PointInTime $timeOfRecording): Event
35
    {
36
37
    }
38
}