Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | final class RemoveGroupFromUserCommandHandler |
||
9 | { |
||
10 | private $groupRepository; |
||
11 | private $userRepository; |
||
12 | |||
13 | public function __construct(GroupRepository $group, UserRepository $user) |
||
14 | { |
||
15 | $this->groupRepository = $group; |
||
16 | $this->userRepository = $user; |
||
17 | } |
||
18 | |||
19 | public function handle(RemoveGroupFromUserCommand $command) |
||
25 | |||
26 | //$user->removeGroup($group); |
||
29 |