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