Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
9 | final class StartedMatchForProposal implements MatchEvent |
||
10 | { |
||
11 | private $matchId; |
||
12 | private $proposalId; |
||
13 | |||
14 | public function __construct(MatchId $matchId, ProposalId $proposalId) |
||
15 | { |
||
16 | $this->matchId = $matchId; |
||
17 | $this->proposalId = $proposalId; |
||
18 | } |
||
19 | |||
20 | public function aggregateId(): MatchId |
||
21 | { |
||
22 | return $this->matchId; |
||
23 | } |
||
24 | |||
25 | public function proposal(): ProposalId |
||
28 | } |
||
29 | } |
||
30 |