1 | <?php |
||
13 | class DeleteRoleTask extends Action |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var \App\Containers\Authorization\Data\Repositories\RoleRepository |
||
18 | */ |
||
19 | private $roleRepository; |
||
20 | |||
21 | /** |
||
22 | * DeleteRoleTask constructor. |
||
23 | * |
||
24 | * @param \App\Containers\Authorization\Data\Repositories\RoleRepository $roleRepository |
||
25 | */ |
||
26 | public function __construct(RoleRepository $roleRepository) |
||
30 | |||
31 | /** |
||
32 | * @param $roleId |
||
33 | * |
||
34 | * @return bool |
||
35 | */ |
||
36 | public function run($roleId) |
||
43 | } |
||
44 |