Пример #1
0
 /**
  * Assign a role to the given user.
  * @param  \Modules\User\Repositories\UserRepository $user
  * @param  \Modules\User\Repositories\RoleRepository $role
  * @return mixed
  */
 public function assignRole($user, $role)
 {
     return $user->assignRole($role);
 }