Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
9 | final class UnitDied implements MatchEvent |
||
10 | { |
||
11 | /** @var MatchId */ |
||
12 | private $match; |
||
13 | /** @var CardId */ |
||
14 | private $card; |
||
15 | |||
16 | public function __construct(MatchId $match, CardId $card) |
||
20 | } |
||
21 | |||
22 | public function aggregateId(): MatchId |
||
23 | { |
||
24 | return $this->match; |
||
25 | } |
||
26 | |||
27 | public function match(): MatchId |
||
30 | } |
||
31 | |||
32 | public function card(): CardId |
||
37 |