Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
9 | final class StartTheMatch implements Command |
||
10 | { |
||
11 | private $proposal; |
||
12 | private $correlationId; |
||
13 | |||
14 | private function __construct(ProposalId $proposal, CorrelationId $correlationId) |
||
15 | { |
||
16 | $this->proposal = $proposal; |
||
17 | $this->correlationId = $correlationId; |
||
18 | } |
||
19 | |||
20 | public static function forProposal( |
||
25 | } |
||
26 | |||
27 | public function proposal(): ProposalId |
||
30 | } |
||
31 | |||
32 | public function correlationId(): CorrelationId |
||
37 |