Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
12 | final class EndPlayPhaseProcess implements Handler |
||
13 | { |
||
14 | private $matches; |
||
15 | private $eventBag; |
||
16 | |||
17 | public function __construct(Matches $matches, EventBag $eventBag) |
||
18 | { |
||
19 | $this->matches = $matches; |
||
20 | $this->eventBag = $eventBag; |
||
21 | } |
||
22 | |||
23 | public function handle(object $command): void |
||
30 | ); |
||
31 | } |
||
32 | |||
33 | private function endPlayPhase(int $thePlayer, Match $theMatch): void |
||
40 |