| Total Complexity | 7 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class DummyCommandHandler |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @phpstan-var AggregateRootRepository<DummyAggregate> |
||
| 13 | */ |
||
| 14 | private AggregateRootRepository $repository; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @phpstan-param AggregateRootRepository<DummyAggregate> $repository |
||
| 18 | */ |
||
| 19 | public function __construct(AggregateRootRepository $repository) |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @throws DummyException |
||
| 26 | */ |
||
| 27 | public function handle(DummyCommand $command): void |
||
| 53 |