Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
13 | final class CombatProcess implements Handler |
||
14 | { |
||
15 | /** @var Matches */ |
||
16 | private $matches; |
||
17 | /** @var Clock */ |
||
18 | private $clock; |
||
19 | /** @var EventBag */ |
||
20 | private $eventBag; |
||
21 | |||
22 | public function __construct( |
||
30 | } |
||
31 | |||
32 | public function handle(object $command): void |
||
39 | ); |
||
40 | } |
||
41 | |||
42 | private function timeForCombat(int $thePlayer, Match $theMatch): void |
||
49 |