public function unassignAllRoles($userId)
    {
        $user = $this->model->find($userId);
        $user->roles()->detach();
    }
public function unassignAllRoles($userId)
    {
        $user = $this->model->find($userId);
        $user->roles()->detach();
    }
public function unassignAllRoles ( $ userId ) { $ user = $ this -> model -> find ( $ userId ) ; $ user -> roles ( ) -> detach ( ) ; }
Unassign all roles from the user

@param  string $roleName
@param  integer $userId
@return void
Unassign all roles from the user