Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function handle(Command $command): void |
||
26 | { |
||
27 | try { |
||
28 | $board = $this->repository->getBoardByUuid($command->getBoardUuid()); |
||
29 | } catch (BoardNotFoundException $e) { |
||
30 | throw new InvalidCommandDataException($e->getMessage(), $e->getCode(), $e); |
||
31 | } |
||
32 | $board->markAsDeleted(); |
||
33 | } |
||
35 |