| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class DummyCommandHandler |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var AggregateRootRepository |
||
| 14 | */ |
||
| 15 | private $repository; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var Clock |
||
| 19 | */ |
||
| 20 | private $clock; |
||
| 21 | |||
| 22 | 8 | public function __construct(AggregateRootRepository $repository, Clock $clock) |
|
| 26 | 8 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @param DummyCommand $command |
||
| 30 | * |
||
| 31 | * @throws DummyException |
||
| 32 | */ |
||
| 33 | 8 | public function handle($command) |
|
| 53 |