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