| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | final class DeleteUserHandler implements CommandHandlerProtocol |
||
| 21 | { |
||
| 22 | private UserRepositoryProtocol $repository; |
||
| 23 | |||
| 24 | public function __construct(UserRepositoryProtocol $repository) |
||
| 25 | { |
||
| 26 | $this->repository = $repository; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function __invoke(DeleteUser $command): void |
||
| 38 | } |
||
| 39 | } |
||
| 40 |