Total Complexity | 8 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class DummyCommandHandler |
||
14 | { |
||
15 | /** |
||
16 | * @phpstan-var AggregateRootRepository<DummyAggregate> |
||
17 | */ |
||
18 | private AggregateRootRepository $repository; |
||
19 | |||
20 | /** |
||
21 | * @phpstan-param AggregateRootRepository<DummyAggregate> $repository |
||
22 | */ |
||
23 | public function __construct(AggregateRootRepository $repository) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @throws DummyException |
||
30 | */ |
||
31 | public function handle(DummyCommand $command): void |
||
59 |