Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class Snapshot implements SnapshotInterface |
||
8 | { |
||
9 | /** @var string $streamName */ |
||
10 | protected $streamName; |
||
11 | |||
12 | /** @var string $payload */ |
||
13 | protected $payload; |
||
14 | |||
15 | public function __construct(string $streamName, string $payload) |
||
16 | { |
||
17 | $this->streamName = $streamName; |
||
18 | $this->payload = $payload; |
||
19 | } |
||
20 | |||
21 | public function getStreamName() : string |
||
24 | } |
||
25 | |||
26 | public function getPayload() : string |
||
29 | } |
||
30 | } |
||
31 |