Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
8 | final class RemoveGroupFromRoleCommandHandler |
||
9 | { |
||
10 | private $groupRepository; |
||
11 | private $roleRepository; |
||
12 | |||
13 | 3 | public function __construct(GroupRepository $group, RoleRepository $role) |
|
14 | { |
||
15 | 3 | $this->groupRepository = $group; |
|
16 | 3 | $this->roleRepository = $role; |
|
17 | 3 | } |
|
18 | |||
19 | 3 | public function handle(RemoveGroupFromRoleCommand $command) |
|
27 | 3 | } |
|
28 | } |
||
29 |