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