Total Complexity | 4 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
17 | final class CombatProcess implements CommandHandler |
||
18 | { |
||
19 | /** @var Matches */ |
||
20 | private $matches; |
||
21 | /** @var Clock */ |
||
22 | private $clock; |
||
23 | /** @var EventBag */ |
||
24 | private $eventBag; |
||
25 | |||
26 | public function __construct( |
||
34 | } |
||
35 | |||
36 | public function handle(Command $command): void |
||
44 | ); |
||
45 | } |
||
46 | |||
47 | private function timeForCombat( |
||
65 |