| 1 | <?php |
||
| 8 | class UsersController extends Controller |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Attach an user to a role. |
||
| 12 | * |
||
| 13 | * @param $role |
||
| 14 | * @param $user |
||
| 15 | */ |
||
| 16 | public function add($role, $user) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Detach an user from a role. |
||
| 23 | * |
||
| 24 | * @param $role |
||
| 25 | * @param $user |
||
| 26 | */ |
||
| 27 | public function remove($role, $user) |
||
| 31 | } |