Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
9 | final class UnitMovedToAttack implements MatchEvent |
||
10 | { |
||
11 | private $card; |
||
12 | private $match; |
||
13 | |||
14 | public function __construct( |
||
15 | MatchId $match, |
||
16 | CardId $card |
||
17 | ) { |
||
18 | $this->card = $card; |
||
19 | $this->match = $match; |
||
20 | } |
||
21 | |||
22 | public function aggregateId(): MatchId |
||
25 | } |
||
26 | |||
27 | public function card(): CardId |
||
30 | } |
||
31 | } |
||
32 |