| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class StartTheMatch |
||
| 9 | { |
||
| 10 | private $proposal; |
||
| 11 | private $correlationId; |
||
| 12 | |||
| 13 | public function __construct(ProposalId $proposal, CorrelationId $correlationId) |
||
| 14 | { |
||
| 15 | $this->proposal = $proposal; |
||
| 16 | $this->correlationId = $correlationId; |
||
| 17 | } |
||
| 18 | |||
| 19 | public static function forProposal( |
||
| 24 | } |
||
| 25 | |||
| 26 | public function proposal(): ProposalId |
||
| 27 | { |
||
| 28 | return $this->proposal; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function correlationId(): CorrelationId |
||
| 34 | } |
||
| 35 | } |
||
| 36 |