Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class CheckIfTurnPhaseExpired implements Command |
||
9 | { |
||
10 | /** @var CorrelationId */ |
||
11 | private $correlationId; |
||
12 | |||
13 | private function __construct(CorrelationId $correlationId) |
||
16 | } |
||
17 | |||
18 | public static function with(CorrelationId $correlationId): self |
||
19 | { |
||
20 | return new self($correlationId); |
||
21 | } |
||
22 | |||
23 | public function correlationId(): CorrelationId |
||
26 | } |
||
27 | } |
||
28 |