Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | final class CreateUserHandler implements CommandHandlerProtocol |
||
23 | { |
||
24 | private UserRepositoryProtocol $repository; |
||
25 | |||
26 | public function __construct(UserRepositoryProtocol $repository) |
||
27 | { |
||
28 | $this->repository = $repository; |
||
29 | } |
||
30 | |||
31 | public function __invoke(CreateUser $command): void |
||
49 | } |
||
50 | } |
||
51 |