Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | final class MoveEventHandler |
||
14 | { |
||
15 | private $repository; |
||
16 | private $clock; |
||
17 | |||
18 | 2 | public function __construct( |
|
19 | EventRepository $repository, |
||
20 | TimeContinuumInterface $clock |
||
21 | ) { |
||
22 | 2 | $this->repository = $repository; |
|
23 | 2 | $this->clock = $clock; |
|
24 | 2 | } |
|
25 | |||
26 | 2 | public function __invoke(MoveEvent $wished): void |
|
36 | 1 | } |
|
37 | } |
||
38 |